This allows the constant island pass to lower these branches to cbn?z
instructions, resulting in a shorter instruction sequence.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D9183
Thumb2: When optimizing for size, do not if-convert branches involving comparisons with zero. ClosedPublic Authored by pcc on Apr 21 2015, 8:11 PM.
Details Summary This allows the constant island pass to lower these branches to cbn?z
Diff Detail Event TimelineThis revision is now accepted and ready to land.Apr 23 2015, 2:15 AM Closed by commit rL235638: Thumb2: When optimizing for size, do not if-convert branches involving… (authored by pcc). · Explain WhyApr 23 2015, 1:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 24193 lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/Thumb2/2011-06-07-TwoAddrEarlyClobber.ll
test/CodeGen/Thumb2/ifcvt-compare.ll
test/CodeGen/Thumb2/v8_IT_3.ll
|