summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-05-05 19:40:36 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-05-05 19:40:36 +0000
commit75ea413a1b4209ee74525af1cb9c71b5fa7c3465 (patch)
treea76e365f35ef3c3c8cb4f081b7cb4f1853ae87a2 /test
parenta0fa9eb6060cefe01a8e4e3de24bd369d26bb121 (diff)
downloadllvm-75ea413a1b4209ee74525af1cb9c71b5fa7c3465.tar.gz
llvm-75ea413a1b4209ee74525af1cb9c71b5fa7c3465.tar.bz2
llvm-75ea413a1b4209ee74525af1cb9c71b5fa7c3465.tar.xz
Revert "Optimize shufflevector that copies an i64/f64 and zeros the rest."
This reverts commit 207992. I misread the phab number on the LGTM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/avx-shuffle.ll8
-rw-r--r--test/CodeGen/X86/sse2.ll8
2 files changed, 0 insertions, 16 deletions
diff --git a/test/CodeGen/X86/avx-shuffle.ll b/test/CodeGen/X86/avx-shuffle.ll
index e472042b2c..02aa617c56 100644
--- a/test/CodeGen/X86/avx-shuffle.ll
+++ b/test/CodeGen/X86/avx-shuffle.ll
@@ -306,11 +306,3 @@ define void @test20() {
store <3 x double> %a1, <3 x double>* undef, align 1
ret void
}
-
-define <2 x i64> @test_insert_64_zext(<2 x i64> %i) {
-; CHECK-LABEL: test_insert_64_zext
-; CHECK-NOT: xor
-; CHECK: vmovq
- %1 = shufflevector <2 x i64> %i, <2 x i64> <i64 0, i64 undef>, <2 x i32> <i32 0, i32 2>
- ret <2 x i64> %1
-}
diff --git a/test/CodeGen/X86/sse2.ll b/test/CodeGen/X86/sse2.ll
index 0a17eaca41..628dba0b10 100644
--- a/test/CodeGen/X86/sse2.ll
+++ b/test/CodeGen/X86/sse2.ll
@@ -221,11 +221,3 @@ entry:
%double2float.i = fptrunc <4 x double> %0 to <4 x float>
ret <4 x float> %double2float.i
}
-
-define <2 x i64> @test_insert_64_zext(<2 x i64> %i) {
-; CHECK-LABEL: test_insert_64_zext
-; CHECK-NOT: xor
-; CHECK: movq
- %1 = shufflevector <2 x i64> %i, <2 x i64> <i64 0, i64 undef>, <2 x i32> <i32 0, i32 2>
- ret <2 x i64> %1
-}