[PATCH] D37896: [DAGCombine] Resolving PR34474 by transforming mul(x, 2^c +/- 1) -> sub/add(shl(x, c) x) for any type including vector types

Michael Haidl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 05:59:37 PDT 2017


pacxx updated this revision to Diff 119577.
pacxx added a comment.

removed the reference as suggested


https://reviews.llvm.org/D37896

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/aarch64-smull.ll
  test/CodeGen/ARM/2012-08-23-legalize-vmull.ll
  test/CodeGen/ARM/vmul.ll
  test/CodeGen/Hexagon/vect/vect-cst-v4i32.ll
  test/CodeGen/Hexagon/vect/vect-vsplatb.ll
  test/CodeGen/Hexagon/vect/vect-vsplath.ll
  test/CodeGen/X86/combine-shl.ll
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/vector-idiv-sdiv-128.ll
  test/CodeGen/X86/vector-idiv-sdiv-256.ll
  test/CodeGen/X86/vector-idiv-sdiv-512.ll
  test/CodeGen/X86/vector-idiv-udiv-128.ll
  test/CodeGen/X86/vector-idiv-udiv-256.ll
  test/CodeGen/X86/vector-idiv-udiv-512.ll
  test/CodeGen/X86/vector-mul.ll
  test/CodeGen/X86/vselect-avx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37896.119577.patch
Type: text/x-patch
Size: 81533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171019/f36ec408/attachment-0001.bin>


More information about the llvm-commits mailing list