diff options
author | Pawel Bylica <chfast@gmail.com> | 2015-07-09 09:50:54 +0000 |
---|---|---|
committer | Pawel Bylica <chfast@gmail.com> | 2015-07-09 09:50:54 +0000 |
commit | 627762fda5e397cb012897b88e4a85b90aff3cec (patch) | |
tree | c8cf1435d5aecf06390e56012f7683e8215f809f /llvm/test/CodeGen | |
parent | 0a0739743312c3160f25b17d3477cdd376cb32d5 (diff) | |
download | bcm5719-llvm-627762fda5e397cb012897b88e4a85b90aff3cec.tar.gz bcm5719-llvm-627762fda5e397cb012897b88e4a85b90aff3cec.zip |
Revert r241790: Fix shift legalization and lowering for big constants.
llvm-svn: 241792
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r-- | llvm/test/CodeGen/X86/legalize-shl-vec.ll | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/llvm/test/CodeGen/X86/legalize-shl-vec.ll b/llvm/test/CodeGen/X86/legalize-shl-vec.ll deleted file mode 100644 index 7ec2a663513..00000000000 --- a/llvm/test/CodeGen/X86/legalize-shl-vec.ll +++ /dev/null @@ -1,44 +0,0 @@ -; RUN: llc < %s -march=x86-64 | FileCheck %s - -define <2 x i256> @test_shl(<2 x i256> %In) { - %Amt = insertelement <2 x i256> undef, i256 -1, i32 0 - %Out = shl <2 x i256> %In, %Amt - ret <2 x i256> %Out - - ; CHECK-LABEL: test_shl - ; CHECK: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK: retq -} - -define <2 x i256> @test_srl(<2 x i256> %In) { - %Amt = insertelement <2 x i256> undef, i256 -1, i32 0 - %Out = lshr <2 x i256> %In, %Amt - ret <2 x i256> %Out - - ; CHECK-LABEL: test_srl - ; CHECK: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK-NEXT: movq $0 - ; CHECK: retq -} - -define <2 x i256> @test_sra(<2 x i256> %In) { - %Amt = insertelement <2 x i256> undef, i256 -1, i32 0 - %Out = ashr <2 x i256> %In, %Amt - ret <2 x i256> %Out - - ; CHECK-LABEL: test_sra - ; CHECK: sarq $63 -} |