This was the root cause of the endless combine loop in D62257
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D62662
[DAGCombine] ((A-c1)+c2) -> (A+(c2-c1)) constant-fold ClosedPublic Authored by lebedev.ri on May 30 2019, 7:11 AM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 30 2019, 9:54 AM Closed by commit rL362131: [DAGCombine] ((A-c1)+c2) -> (A+(c2-c1)) constant-fold (authored by lebedevri). · Explain WhyMay 30 2019, 12:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 202270 llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/trunk/test/CodeGen/AArch64/addsub-constant-folding.ll
llvm/trunk/test/CodeGen/X86/addsub-constant-folding.ll
|