aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/pr2659.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 23:54:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 23:54:59 +0000
commit49b2803ec227cd196f896138e9e16ea19eead92e (patch)
treee3a152d27815b77028ca7cd63d2afa0c8d576f3f /test/CodeGen/X86/pr2659.ll
parent4f5de9bb406f93e9a20c2ce19b00f5fc2683cc9c (diff)
downloadexternal_llvm-49b2803ec227cd196f896138e9e16ea19eead92e.zip
external_llvm-49b2803ec227cd196f896138e9e16ea19eead92e.tar.gz
external_llvm-49b2803ec227cd196f896138e9e16ea19eead92e.tar.bz2
Prepare remaining tests for -join-physreg going away.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr2659.ll')
-rw-r--r--test/CodeGen/X86/pr2659.ll9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGen/X86/pr2659.ll b/test/CodeGen/X86/pr2659.ll
index ef0f9ea..5dab5c9 100644
--- a/test/CodeGen/X86/pr2659.ll
+++ b/test/CodeGen/X86/pr2659.ll
@@ -1,5 +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 | FileCheck %s
+; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin9.4.0 -disable-branch-fold | FileCheck %s
; PR2659
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
@@ -19,7 +18,11 @@ forcond.preheader: ; preds = %entry
; CHECK-NOT: xorl
; CHECK-NOT: movl
; CHECK-NOT: LBB
-; CHECK: je
+; CHECK: jne
+
+; There should be no moves required in the for loop body.
+; CHECK: %forbody
+; CHECK-NOT: mov
ifthen: ; preds = %entry
ret i32 0