diff options
author | Dale Johannesen <dalej@apple.com> | 2010-12-21 21:22:27 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-12-21 21:22:27 +0000 |
commit | 87c47499c6e2e5c3b6c0bac04ce9e6782bf6059c (patch) | |
tree | 00271dbf370414b70b19fd291266bae74da0a3b1 /llvm/test | |
parent | a468ae02cbf7ec02ba73ced0d245e3091897ad91 (diff) | |
download | bcm5719-llvm-87c47499c6e2e5c3b6c0bac04ce9e6782bf6059c.tar.gz bcm5719-llvm-87c47499c6e2e5c3b6c0bac04ce9e6782bf6059c.zip |
Revert 122353-122355 for the moment, they broke stuff.
llvm-svn: 122360
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/divide-by-constant.ll | 6 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/x86-64-extend-shift.ll | 10 |
2 files changed, 3 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/X86/divide-by-constant.ll b/llvm/test/CodeGen/X86/divide-by-constant.ll index 545662fd0ff..ab3bd941495 100644 --- a/llvm/test/CodeGen/X86/divide-by-constant.ll +++ b/llvm/test/CodeGen/X86/divide-by-constant.ll @@ -29,9 +29,9 @@ entry: ret i8 %div ; CHECK: test3: -; CHECK: movzbl 8(%esp), %eax -; CHECK-NEXT: imull $171, %eax, %eax -; CHECK-NEXT: shrl $9, %eax +; CHECK: imull $171, %eax, %eax +; CHECK-NEXT: shrb %ah +; CHECK-NEXT: movzbl %ah, %eax ; CHECK-NEXT: ret } diff --git a/llvm/test/CodeGen/X86/x86-64-extend-shift.ll b/llvm/test/CodeGen/X86/x86-64-extend-shift.ll deleted file mode 100644 index 6852785fd6a..00000000000 --- a/llvm/test/CodeGen/X86/x86-64-extend-shift.ll +++ /dev/null @@ -1,10 +0,0 @@ -; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s -; Formerly there were two shifts. - -define i64 @baz(i32 %A) nounwind { -; CHECK: shlq $49, %rax - %tmp1 = shl i32 %A, 17 - %tmp2 = zext i32 %tmp1 to i64 - %tmp3 = shl i64 %tmp2, 32 - ret i64 %tmp3 -} |