Added tests for shufflevector lowering to blend instrs.
authorFilipe Cabecinhas <me@filcab.net>
Thu, 29 May 2014 22:04:42 +0000 (22:04 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Thu, 29 May 2014 22:04:42 +0000 (22:04 +0000)
commit229dc176100546802ca35c4e214eba06612f9831
tree122652abef0a335a1291f24e9ef608770f6a5c65
parent7ab7f89ae0221b11d25b5554b0b38ff4a8188819
Added tests for shufflevector lowering to blend instrs.

These tests ensure that a change I will propose in clang works as
expected.

Summary:
Added tests for the generation of blend+immediate instructions from a
shufflevector.
These tests were proposed along with a patch that was dropped. I'm
committing the tests anyway to protect against possible regressions in
codegen.

Reviewers: nadav, bkramer

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D3600

llvm-svn: 209853
llvm/test/CodeGen/X86/avx-blend.ll
llvm/test/CodeGen/X86/avx2-shuffle.ll
llvm/test/CodeGen/X86/sse41-blend.ll