The uaddo won't be removed and the addcarry will still be
dependent on the uaddo. So we'll just increase the use count
of X and Y and potentially require a COPY.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D64190
[DAGCombiner] Don't combine (addcarry (uaddo X, Y), 0, Carry) -> (addcarry X, Y, Carry) if the Carry comes from the uaddo. ClosedPublic Authored by craig.topper on Jul 3 2019, 6:52 PM.
Details Summary The uaddo won't be removed and the addcarry will still be
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 4 2019, 8:54 AM Closed by commit rL365149: [DAGCombiner] Don't combine (addcarry (uaddo X, Y), 0, Carry) -> (addcarry X, Y… (authored by ctopper). · Explain WhyJul 4 2019, 11:19 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 208060 llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/trunk/test/CodeGen/X86/add-of-carry.ll
|