[PATCH] D62664: [DAGCombine] (A+C1)-C2 -> A+(C1-C2) constant-fold

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


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

Better test coverage.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62664

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: D62664.202223.patch
Type: text/x-patch
Size: 4097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/1ff7ecfa/attachment.bin>


More information about the llvm-commits mailing list