Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D62664
[DAGCombine] (A+C1)-C2 -> A+(C1-C2) constant-fold ClosedPublic Authored by lebedev.ri on May 30 2019, 7:14 AM.
Diff Detail
Event Timelinelebedev.ri added a parent revision: D62663: [DAGCombine] Use FoldConstantArithmetic() to perform C2-(A+C1) -> (C2-C1)-A fold.May 30 2019, 7:15 AM lebedev.ri added a child revision: D62257: [DAGCombiner][X86][AArch64] (x - C) + y -> (x + y) - C fold. lebedev.ri added a child revision: D62689: [DAGCombine] (A-C1)-C2 -> A-(C1+C2) constant-fold.May 30 2019, 9:36 AM lebedev.ri removed a child revision: D62257: [DAGCombiner][X86][AArch64] (x - C) + y -> (x + y) - C fold. This revision is now accepted and ready to land.May 30 2019, 9:56 AM Closed by commit rL362133: [DAGCombine] (A+C1)-C2 -> A+(C1-C2) 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 202272 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
|