[PATCH] Add DAG combine for shl + add of constants.

Matt Arsenault Matthew.Arsenault at amd.com
Wed Sep 10 21:01:27 PDT 2014


Remove redundant transform in visitADD, add more tests

http://reviews.llvm.org/D4768

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/arm64-shifted-sext.ll
  test/CodeGen/R600/shl_add_constant.ll
  test/CodeGen/R600/shl_add_ptr.ll
  test/CodeGen/R600/trunc.ll
  test/CodeGen/X86/add_shl_constant.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4768.13577.patch
Type: text/x-patch
Size: 10200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140911/ae21bf50/attachment.bin>


More information about the llvm-commits mailing list