[PATCH] D29097: [X86][SSE] Lower scalar_to_vector(0) to zero vector

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 08:04:04 PST 2017


RKSimon updated this revision to Diff 85757.
RKSimon added a comment.

Added v4i32 handling as well - we were treating v4i32 scalar_to_vector as legal so were missing some cases


Repository:
  rL LLVM

https://reviews.llvm.org/D29097

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/clear_upper_vector_element_bits.ll
  test/CodeGen/X86/insertelement-zero.ll
  test/CodeGen/X86/vector-shuffle-variable-128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29097.85757.patch
Type: text/x-patch
Size: 15086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/6233a1af/attachment.bin>


More information about the llvm-commits mailing list