[PATCH] D62223: [DAGCombiner][X86][AArch64][AMDGPU] (x + C) - y -> (x - y) + C fold

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 13:34:44 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL362142: [DAGCombiner][X86][AArch64][AMDGPU] (x + C) - y  ->  (x - y) + C  fold. Try 3 (authored by lebedevri, committed by ).

Repository:
  rL LLVM

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

https://reviews.llvm.org/D62223

Files:
  llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/trunk/test/CodeGen/AArch64/shift-amount-mod.ll
  llvm/trunk/test/CodeGen/AArch64/sink-addsub-of-const.ll
  llvm/trunk/test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.ll
  llvm/trunk/test/CodeGen/X86/combine-add.ll
  llvm/trunk/test/CodeGen/X86/ragreedy-hoist-spill.ll
  llvm/trunk/test/CodeGen/X86/shift-amount-mod.ll
  llvm/trunk/test/CodeGen/X86/sink-addsub-of-const.ll
  llvm/trunk/test/CodeGen/X86/zext-sext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62223.202286.patch
Type: text/x-patch
Size: 22990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/3155a274/attachment.bin>


More information about the llvm-commits mailing list