aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fold-load.ll
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-07-29 02:44:09 +0000
committerManman Ren <mren@apple.com>2012-07-29 02:44:09 +0000
commite8b4a4a9d173d67e35e4b1d32e20140381db6bde (patch)
treef72e329b6068a8cef154182d43d5f4410981e35e /test/CodeGen/X86/fold-load.ll
parentd64cb165d7741cdaa21405b49c019b9dacfbeb11 (diff)
downloadexternal_llvm-e8b4a4a9d173d67e35e4b1d32e20140381db6bde.zip
external_llvm-e8b4a4a9d173d67e35e4b1d32e20140381db6bde.tar.gz
external_llvm-e8b4a4a9d173d67e35e4b1d32e20140381db6bde.tar.bz2
Revert r160920 and r160919 due to dragonegg and clang selfhost failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fold-load.ll')
-rw-r--r--test/CodeGen/X86/fold-load.ll26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/CodeGen/X86/fold-load.ll b/test/CodeGen/X86/fold-load.ll
index c961f75..e03cb7e 100644
--- a/test/CodeGen/X86/fold-load.ll
+++ b/test/CodeGen/X86/fold-load.ll
@@ -45,29 +45,3 @@ L:
}
-; rdar://10554090
-; xor in exit block will be CSE'ed and load will be folded to xor in entry.
-define i1 @test3(i32* %P, i32* %Q) nounwind {
-; CHECK: test3:
-; CHECK: movl 8(%esp), %eax
-; CHECK: xorl (%eax),
-; CHECK: j
-; CHECK-NOT: xor
-entry:
- %0 = load i32* %P, align 4
- %1 = load i32* %Q, align 4
- %2 = xor i32 %0, %1
- %3 = and i32 %2, 65535
- %4 = icmp eq i32 %3, 0
- br i1 %4, label %exit, label %land.end
-
-exit:
- %shr.i.i19 = xor i32 %1, %0
- %5 = and i32 %shr.i.i19, 2147418112
- %6 = icmp eq i32 %5, 0
- br label %land.end
-
-land.end:
- %7 = phi i1 [ %6, %exit ], [ false, %entry ]
- ret i1 %7
-}