[PATCH] D55722: [DAGCombiner] scalarize binop followed by extractelement

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 17 09:16:14 PST 2018


spatel updated this revision to Diff 178478.
spatel added a comment.

Patch updated:
Avoid transforming with integers if the build vector contains any opaque constants. I'm not sure how that can happen, so there are no test diffs here vs. the last rev. There's apparently no opaque constant equivalent for FP constants.


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

https://reviews.llvm.org/D55722

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/vector-promotion.ll
  test/CodeGen/SystemZ/knownbits.ll
  test/CodeGen/SystemZ/vec-trunc-to-i1.ll
  test/CodeGen/X86/and-load-fold.ll
  test/CodeGen/X86/extract-fp.ll
  test/CodeGen/X86/horizontal-reduce-smax.ll
  test/CodeGen/X86/horizontal-reduce-smin.ll
  test/CodeGen/X86/horizontal-reduce-umax.ll
  test/CodeGen/X86/horizontal-reduce-umin.ll
  test/CodeGen/X86/known-bits-vector.ll
  test/CodeGen/X86/known-signbits-vector.ll
  test/CodeGen/X86/pr30511.ll
  test/CodeGen/X86/setcc-combine.ll
  test/CodeGen/X86/shrink_vmul-widen.ll
  test/CodeGen/X86/shrink_vmul.ll
  test/CodeGen/X86/vector-gep.ll
  test/CodeGen/X86/vector-reduce-smax-widen.ll
  test/CodeGen/X86/vector-reduce-smax.ll
  test/CodeGen/X86/vector-reduce-smin-widen.ll
  test/CodeGen/X86/vector-reduce-smin.ll
  test/CodeGen/X86/vector-reduce-umax-widen.ll
  test/CodeGen/X86/vector-reduce-umax.ll
  test/CodeGen/X86/vector-reduce-umin-widen.ll
  test/CodeGen/X86/vector-reduce-umin.ll
  test/CodeGen/X86/vector-rotate-128.ll
  test/CodeGen/X86/xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55722.178478.patch
Type: text/x-patch
Size: 259072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/3d161118/attachment-0001.bin>


More information about the llvm-commits mailing list