[PATCH] D62662: [DAGCombine] ((A-c1)+c2) -> (A+(c2-c1)) constant-fold

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 12:25:00 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL362131: [DAGCombine] ((A-c1)+c2) -> (A+(c2-c1))  constant-fold (authored by lebedevri, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D62662?vs=202229&id=202270#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62662/new/

https://reviews.llvm.org/D62662

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62662.202270.patch
Type: text/x-patch
Size: 6488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/78939dfe/attachment.bin>


More information about the llvm-commits mailing list