[PATCH] D24381: [InstCombine] Convert shuffle with single constant vector element to insertelement.

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 08:40:26 PDT 2016


ABataev updated this revision to Diff 71368.
ABataev added a comment.

Fixes an issue with shuffling the elements from the other input. In this case we should retain the shuffle.


https://reviews.llvm.org/D24381

Files:
  lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  test/Transforms/InstCombine/insert-const-shuf.ll
  test/Transforms/InstCombine/x86-insertps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24381.71368.patch
Type: text/x-patch
Size: 5091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160914/692f6823/attachment.bin>


More information about the llvm-commits mailing list