As pointed out in D57833, we can add a few extra Thumb1 opcodes
to the peephole optimisers ability to remove CMP instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
lib/Target/ARM/ARMBaseInstrInfo.cpp | ||
---|---|---|
2830 ↗ | (On Diff #187007) | This change is necessary to prevent illegal reordering involving ADC/SBC, I guess? And this is covered by the test test_adc_mov in peephole-mi.mir? Maybe worth mentioning in the commit message. |