As mentioned on D122482, if we've generated a masked overflow test see if we can fold it to X86ISD::BT to feed a X86ISD::ADC/SBB
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D122572
[X86] combineCarryThroughADD - recognise X86ISD::ADD(AND(X,1),-1) pattern can be folded to X86ISD::BT ClosedPublic Authored by RKSimon on Mar 28 2022, 4:20 AM.
Details Summary As mentioned on D122482, if we've generated a masked overflow test see if we can fold it to X86ISD::BT to feed a X86ISD::ADC/SBB
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 30 2022, 5:23 PM This revision was landed with ongoing or failed builds.Mar 31 2022, 1:54 AM Closed by commit rG481b18562077: [X86] combineCarryThroughADD - recognise X86ISD::ADD(AND(X,1),-1) pattern can… (authored by RKSimon). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 419365 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/addcarry.ll
llvm/test/CodeGen/X86/combine-adc.ll
llvm/test/CodeGen/X86/subcarry.ll
|