summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/x86-shifts.ll
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-10-16 20:31:33 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-10-16 20:31:33 +0000
commit8fb06b3e8f7fc92e472e17fecf5ee3ba44fbb6ab (patch)
tree0bb4f05809105f8db17e8f199f0627d92cd6f04c /test/CodeGen/X86/x86-shifts.ll
parentc4a90c5271de99e682b00986c9ca7cde3e1dde4f (diff)
downloadllvm-8fb06b3e8f7fc92e472e17fecf5ee3ba44fbb6ab.tar.gz
llvm-8fb06b3e8f7fc92e472e17fecf5ee3ba44fbb6ab.tar.bz2
llvm-8fb06b3e8f7fc92e472e17fecf5ee3ba44fbb6ab.tar.xz
Enable element promotion type legalization by deafault.
Changed tests which assumed that vectors are legalized by widening them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/x86-shifts.ll')
-rw-r--r--test/CodeGen/X86/x86-shifts.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/x86-shifts.ll b/test/CodeGen/X86/x86-shifts.ll
index fdf68f92a9..1cb07aa082 100644
--- a/test/CodeGen/X86/x86-shifts.ll
+++ b/test/CodeGen/X86/x86-shifts.ll
@@ -124,7 +124,7 @@ entry:
define <2 x i32> @shl2_other(<2 x i32> %A) nounwind {
entry:
; CHECK: shl2_other
-; CHECK-not: psllq
+; CHECK: psllq
%B = shl <2 x i32> %A, < i32 2, i32 2>
%C = shl <2 x i32> %A, < i32 9, i32 9>
%K = xor <2 x i32> %B, %C
@@ -134,7 +134,7 @@ entry:
define <2 x i32> @shr2_other(<2 x i32> %A) nounwind {
entry:
; CHECK: shr2_other
-; CHECK-NOT: psrlq
+; CHECK: psrlq
%B = lshr <2 x i32> %A, < i32 8, i32 8>
%C = lshr <2 x i32> %A, < i32 1, i32 1>
%K = xor <2 x i32> %B, %C