summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr2659.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-27 18:43:48 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-27 18:43:48 +0000
commit08342f2d11caf484bce394f9513ebc2b4a0498d5 (patch)
tree1a72b04723816409770f23f38ae4818032245893 /test/CodeGen/X86/pr2659.ll
parentb53afc6a12fee994cc676e3601383d49495fca14 (diff)
downloadllvm-08342f2d11caf484bce394f9513ebc2b4a0498d5.tar.gz
llvm-08342f2d11caf484bce394f9513ebc2b4a0498d5.tar.bz2
llvm-08342f2d11caf484bce394f9513ebc2b4a0498d5.tar.xz
Revert "Disable codegen prepare critical edge splitting. Machine instruction passes now"
This reverts revision 114633. It was breaking llvm-gcc-i386-linux-selfhost. It seems there is a downstream bug that is exposed by -cgp-critical-edge-splitting=0. When that bug is fixed, this patch can go back in. Note that the changes to tailcallfp2.ll are not reverted. They were good are required. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr2659.ll')
-rw-r--r--test/CodeGen/X86/pr2659.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/X86/pr2659.ll b/test/CodeGen/X86/pr2659.ll
index 54d043d54f..e5daf5da9f 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 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 | FileCheck %s
; PR2659
@@ -14,11 +14,10 @@ forcond.preheader: ; preds = %entry
%cmp44 = icmp eq i32 %k, 0 ; <i1> [#uses=1]
br i1 %cmp44, label %afterfor, label %forbody
-; CHECK: %forcond.preheader
+; CHECK: %forcond.preheader.forbody_crit_edge
; CHECK: movl $1
; CHECK-NOT: xorl
-; CHECK-NOT: movl
-; CHECK-NEXT: je
+; CHECK-NEXT: movl
ifthen: ; preds = %entry
ret i32 0