summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChen Li <meloli87@gmail.com>2015-12-12 00:08:37 +0000
committerChen Li <meloli87@gmail.com>2015-12-12 00:08:37 +0000
commit02ef2e13857ed52d8a0da5ba7f2c388220f70e36 (patch)
tree97c60cfffdd4266fa4ddae71a2121584daca7128 /llvm/test
parentffde9e14a2e3361f6396777809789454a44acff5 (diff)
downloadbcm5719-llvm-02ef2e13857ed52d8a0da5ba7f2c388220f70e36.tar.gz
bcm5719-llvm-02ef2e13857ed52d8a0da5ba7f2c388220f70e36.zip
Revert rL255391: [X86ISelLowering] Add additional support for multiplication-to-shift conversion.
because it broke buildbot. llvm-svn: 255395
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/imul.ll45
1 files changed, 0 insertions, 45 deletions
diff --git a/llvm/test/CodeGen/X86/imul.ll b/llvm/test/CodeGen/X86/imul.ll
index 9d4d19332db..99a4690a009 100644
--- a/llvm/test/CodeGen/X86/imul.ll
+++ b/llvm/test/CodeGen/X86/imul.ll
@@ -126,48 +126,3 @@ define i32 @mul40_32_minsize(i32 %A) minsize {
%mul = mul i32 %A, 40
ret i32 %mul
}
-
-define i32 @mul33_32(i32 %A) {
-; X64-LABEL: mul33_32:
-; X64: shll
-; X64-NEXT: leal
-; X86-LABEL: mul33_32:
-; X86: shll
-; X86-NEXT: addl
- %mul = mul i32 %A, 33
- ret i32 %mul
-}
-
-define i32 @mul31_32(i32 %A) {
-; X64-LABEL: mul31_32:
-; X64: shll
-; X64-NEXT: subl
-; X86-LABEL: mul31_32:
-; X86: shll
-; X86-NEXT: subl
- %mul = mul i32 %A, 31
- ret i32 %mul
-}
-
-define i32 @mul0_32(i32 %A) {
-; X64-LABEL: mul0_32:
-; X64: xorl %eax, %eax
- %mul = mul i32 %A, 0
- ret i32 %mul
-}
-
-define i32 @mul4294967295_32(i32 %A) {
-; X64-LABEL: mul4294967295_32:
-; X64: negl %edi
-; X64-NEXT: movl %edi, %eax
- %mul = mul i32 %A, 4294967295
- ret i32 %mul
-}
-
-define i64 @mul18446744073709551615_64(i64 %A) {
-; X64-LABEL: mul18446744073709551615_64:
-; X64: negq %rdi
-; X64-NEXT: movq %rdi, %rax
- %mul = mul i64 %A, 18446744073709551615
- ret i64 %mul
-}
OpenPOWER on IntegriCloud