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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 09:42:30 PDT 2019


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

Rebased, NFC.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62223

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62223.201694.patch
Type: text/x-patch
Size: 22693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190528/81ca3ad3/attachment.bin>


More information about the llvm-commits mailing list