summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr2659.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-09-23 06:55:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-09-23 06:55:34 +0000
commitdd3a41a6b35f24d57fd3aba9043bd5321cce0cdb (patch)
tree1e4f45201128bd530872c474dc800e6f8f8a04e5 /test/CodeGen/X86/pr2659.ll
parent108c8724663354050dc09bb1262c3e4511adf82f (diff)
downloadllvm-dd3a41a6b35f24d57fd3aba9043bd5321cce0cdb.tar.gz
llvm-dd3a41a6b35f24d57fd3aba9043bd5321cce0cdb.tar.bz2
llvm-dd3a41a6b35f24d57fd3aba9043bd5321cce0cdb.tar.xz
Disable codegen prepare critical edge splitting. Machine instruction passes now
break critical edges on demand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr2659.ll')
-rw-r--r--test/CodeGen/X86/pr2659.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/pr2659.ll b/test/CodeGen/X86/pr2659.ll
index e5daf5da9f..54d043d54f 100644
--- a/test/CodeGen/X86/pr2659.ll
+++ b/test/CodeGen/X86/pr2659.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin9.4.0 | grep movl | count 5
+; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin9.4.0 | grep movl | count 4
; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin9.4.0 | FileCheck %s
; PR2659
@@ -14,10 +14,11 @@ forcond.preheader: ; preds = %entry
%cmp44 = icmp eq i32 %k, 0 ; <i1> [#uses=1]
br i1 %cmp44, label %afterfor, label %forbody
-; CHECK: %forcond.preheader.forbody_crit_edge
+; CHECK: %forcond.preheader
; CHECK: movl $1
; CHECK-NOT: xorl
-; CHECK-NEXT: movl
+; CHECK-NOT: movl
+; CHECK-NEXT: je
ifthen: ; preds = %entry
ret i32 0