diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-06 07:08:26 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-06 07:08:26 +0000 |
| commit | c61e357aa684dd0e8ed5d2e28ec3de08e772fb46 (patch) | |
| tree | 00b01121260e13362bbd261b2629d273592fad79 /llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll | |
| parent | aee3f62b75dd3ba164f56a71876a141fe0f06cf6 (diff) | |
| download | bcm5719-llvm-c61e357aa684dd0e8ed5d2e28ec3de08e772fb46.tar.gz bcm5719-llvm-c61e357aa684dd0e8ed5d2e28ec3de08e772fb46.zip | |
Fix the expansion for CONCAT_VECTORS so that it doesn't create illegal
types.
llvm-svn: 72993
Diffstat (limited to 'llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll b/llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll new file mode 100644 index 00000000000..a46fd1a2e76 --- /dev/null +++ b/llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc + +define <2 x i64> @_mm_movpi64_pi64(<1 x i64> %a, <1 x i64> %b) nounwind readnone { +entry: + %0 = shufflevector <1 x i64> %a, <1 x i64> %b, <2 x i32> <i32 0, i32 1> + ret <2 x i64> %0 +} + |

