diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-09-23 06:55:34 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-09-23 06:55:34 +0000 |
commit | 794aaa79e2104a158b59e9aab8f8dbe8b47cde2e (patch) | |
tree | fc761d5fd4c7286a60854de215e5f38e90826db4 /llvm/test/CodeGen/X86/pr2659.ll | |
parent | 66c8cd2b3258cc781a0f483a479fb94052ba35db (diff) | |
download | bcm5719-llvm-794aaa79e2104a158b59e9aab8f8dbe8b47cde2e.tar.gz bcm5719-llvm-794aaa79e2104a158b59e9aab8f8dbe8b47cde2e.zip |
Disable codegen prepare critical edge splitting. Machine instruction passes now
break critical edges on demand.
llvm-svn: 114633
Diffstat (limited to 'llvm/test/CodeGen/X86/pr2659.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/pr2659.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/pr2659.ll b/llvm/test/CodeGen/X86/pr2659.ll index e5daf5da9f3..54d043d54f8 100644 --- a/llvm/test/CodeGen/X86/pr2659.ll +++ b/llvm/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 |