summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-04-21 16:14:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-04-21 16:14:46 +0000
commit6309828206f97a2b76865a3ea424e3010b8f6ba9 (patch)
tree3681418302c869cfeb9c527a3f17e60eca1c90a3 /llvm/test/CodeGen/X86/fast-isel-x86-64.ll
parentd74d88a86172e9bec3becc05f2894fed24a84267 (diff)
downloadbcm5719-llvm-6309828206f97a2b76865a3ea424e3010b8f6ba9.tar.gz
bcm5719-llvm-6309828206f97a2b76865a3ea424e3010b8f6ba9.zip
Revert r1296656, "Fix rdar://9289512 - not folding load into compare at -O0...",
which broke a couple GCC test suite tests at -O0. llvm-svn: 129914
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-x86-64.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-x86-64.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
index 46659892983..5762ef33123 100644
--- a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
@@ -14,28 +14,6 @@ define i32 @test1(i32 %i) nounwind ssp {
; CHECK: andl $8,
-; rdar://9289512 - The load should fold into the compare.
-define void @test2(i64 %x) nounwind ssp {
-entry:
- %x.addr = alloca i64, align 8
- store i64 %x, i64* %x.addr, align 8
- %tmp = load i64* %x.addr, align 8
- %cmp = icmp sgt i64 %tmp, 42
- br i1 %cmp, label %if.then, label %if.end
-
-if.then: ; preds = %entry
- br label %if.end
-
-if.end: ; preds = %if.then, %entry
- ret void
-; CHECK: test2:
-; CHECK: movq %rdi, -8(%rsp)
-; CHECK: cmpq $42, -8(%rsp)
-}
-
-
-
-
@G = external global i32
define i64 @test3() nounwind {
%A = ptrtoint i32* @G to i64
OpenPOWER on IntegriCloud