When checking for sret-demotion, it needs to use legal types. When using the return...
[oota-llvm.git] / test / CodeGen / X86 / 2009-09-19-SchedCustomLoweringBug.ll
index 646806e5dbb2820ead5535051c5d9a277707b7c1..8cb538b07359d6ff44c474c83c4dad78f214240e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin10 | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin10 -post-RA-scheduler=true | FileCheck %s
 
 ; PR4958
 
@@ -9,8 +9,7 @@ entry:
   br label %bb
 
 bb:                                               ; preds = %bb1, %entry
-; CHECK:      movl %e
-; CHECK-NEXT: addl $1
+; CHECK:      addl $1
 ; CHECK-NEXT: movl %e
 ; CHECK-NEXT: adcl $0
   %i.0 = phi i64 [ 0, %entry ], [ %0, %bb1 ]      ; <i64> [#uses=1]