summaryrefslogtreecommitdiff
path: root/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
commit63c21deee15516723d3ebcf70ba34bb07116e974 (patch)
treebdb6dcc400bfa1de14c91b7d29f219d606b94833 /test/CodeGen/X86/fast-isel-x86-64.ll
parent326fb9d1fbbcb84427bd7cef68874fb8b9dc56de (diff)
downloadllvm-63c21deee15516723d3ebcf70ba34bb07116e974.tar.gz
llvm-63c21deee15516723d3ebcf70ba34bb07116e974.tar.bz2
llvm-63c21deee15516723d3ebcf70ba34bb07116e974.tar.xz
Revert r1296656, "Fix rdar://9289512 - not folding load into compare at -O0...",
which broke a couple GCC test suite tests at -O0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-x86-64.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-x86-64.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/CodeGen/X86/fast-isel-x86-64.ll b/test/CodeGen/X86/fast-isel-x86-64.ll
index 4665989298..5762ef3312 100644
--- a/test/CodeGen/X86/fast-isel-x86-64.ll
+++ b/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