[PATCH] D62252: [DAGCombiner][X86][AArch64][SPARC][SystemZ] y - (x + C) -> (y - x) - C fold

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 07:46:54 PDT 2019


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

Better test coverage.

@t.p.northover thanks! awaiting @RKSimon / etc, and a parent patch


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62252

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/shift-amount-mod.ll
  test/CodeGen/AArch64/sink-addsub-of-const.ll
  test/CodeGen/SPARC/2013-05-17-CallFrame.ll
  test/CodeGen/SystemZ/alloca-03.ll
  test/CodeGen/X86/sink-addsub-of-const.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62252.200739.patch
Type: text/x-patch
Size: 6322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190522/b05f3d09/attachment.bin>


More information about the llvm-commits mailing list