aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-24 15:24:03 +0000
committerDan Gohman <gohman@apple.com>2010-06-24 15:24:03 +0000
commitcb26983c363c82f2568f7ee27030429d9b011445 (patch)
treeb6fbe0da0293106243ee3c40244e5fb9368e3f2a /test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
parenta74a6cc09492bbf519b12d61597e60cd5daf6834 (diff)
downloadexternal_llvm-cb26983c363c82f2568f7ee27030429d9b011445.zip
external_llvm-cb26983c363c82f2568f7ee27030429d9b011445.tar.gz
external_llvm-cb26983c363c82f2568f7ee27030429d9b011445.tar.bz2
Eliminate the other half of the BRCOND optimization, and update
as many tests as possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll')
-rw-r--r--test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll b/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
deleted file mode 100644
index 8cb538b..0000000
--- a/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
+++ /dev/null
@@ -1,29 +0,0 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin10 -post-RA-scheduler=true | FileCheck %s
-
-; PR4958
-
-define i32 @main() nounwind ssp {
-entry:
-; CHECK: main:
- %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
- br label %bb
-
-bb: ; preds = %bb1, %entry
-; CHECK: addl $1
-; CHECK-NEXT: movl %e
-; CHECK-NEXT: adcl $0
- %i.0 = phi i64 [ 0, %entry ], [ %0, %bb1 ] ; <i64> [#uses=1]
- %0 = add nsw i64 %i.0, 1 ; <i64> [#uses=2]
- %1 = icmp sgt i32 0, 0 ; <i1> [#uses=1]
- br i1 %1, label %bb2, label %bb1
-
-bb1: ; preds = %bb
- %2 = icmp sle i64 %0, 1 ; <i1> [#uses=1]
- br i1 %2, label %bb, label %bb2
-
-bb2: ; preds = %bb1, %bb
- br label %return
-
-return: ; preds = %bb2
- ret i32 0
-}