Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
As far as i can tell right now, this is the last missing constant-fold for add/sub combinations.
Paths
| Differential D62691
[DAGCombine] ((c1-A)-c2) -> ((c1-c2)-A) constant-fold ClosedPublic Authored by lebedev.ri on May 30 2019, 10:18 AM.
Details
Diff Detail
Event Timelinelebedev.ri added a parent revision: D62689: [DAGCombine] (A-C1)-C2 -> A-(C1+C2) constant-fold.May 30 2019, 10:18 AM Comment Actions As far as i can tell right now, this is the last missing constant-fold for add/sub combinations. This revision is now accepted and ready to land.May 30 2019, 11:13 AM Closed by commit rL362135: [DAGCombine] ((c1-A)-c2) -> ((c1-c2)-A) constant-fold (authored by lebedevri). · Explain WhyMay 30 2019, 12:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 202235 lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/addsub-constant-folding.ll
test/CodeGen/X86/addsub-constant-folding.ll
|