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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 09:11:24 PDT 2019


lebedev.ri updated this revision to Diff 202222.
lebedev.ri added a comment.

Better test coverage


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62662

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/addsub-constant-folding.ll
  test/CodeGen/X86/addsub-constant-folding.ll

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


More information about the llvm-commits mailing list