This adds support for
X + SETAE --> sbb X, -1
X - SETAE --> adc X, -1
Fixes PR45700
Paths
| Differential D78984
[X86] Handle more cases in combineAddOrSubToADCOrSBB. ClosedPublic Authored by craig.topper on Apr 28 2020, 12:23 AM.
Details Summary This adds support for X + SETAE --> sbb X, -1 Fixes PR45700
Diff Detail
Event TimelineComment Actions LGTM - might be worth pre-committing the tests so committing the patch shows the changes in codegen. This revision is now accepted and ready to land.Apr 28 2020, 3:14 AM Closed by commit rG0de7ddbfb033: [X86] Handle more cases in combineAddOrSubToADCOrSBB. (authored by craig.topper). · Explain WhyApr 28 2020, 10:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 260700 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/sbb.ll
llvm/test/CodeGen/X86/scheduler-backtracking.ll
llvm/test/CodeGen/X86/select.ll
|