summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr2659.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-30 20:51:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-30 20:51:52 +0000
commit7eb589d3f9294dbfe4d5205045bd8119a9666532 (patch)
treed104abc0103d8709e1fd4fa545f06027ec8b8ff8 /test/CodeGen/X86/pr2659.ll
parentf9764fa14fc6e168956bd53e696e8aa4e7b5d42e (diff)
downloadllvm-7eb589d3f9294dbfe4d5205045bd8119a9666532.tar.gz
llvm-7eb589d3f9294dbfe4d5205045bd8119a9666532.tar.bz2
llvm-7eb589d3f9294dbfe4d5205045bd8119a9666532.tar.xz
Try again to disable critical edge splitting in CodeGenPrepare.
The bug that broke i386 linux has been fixed in r115191. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115204 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