Enable all Hexagon tests.
[oota-llvm.git] / test / CodeGen / X86 / phi-immediate-factoring.ll
index 9f9f92115c797e1a790c6970785006b9b167f026..ef02af2d7851134b7601eddb92bc522e29a72f00 100644 (file)
@@ -1,10 +1,10 @@
+; RUN: llc < %s -march=x86 -stats |& grep {Number of blocks eliminated} | grep 6
 ; PR1296
-; RUN: llc < %s -march=x86 | grep {movl        \$1} | count 1
 
 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"
 target triple = "i686-apple-darwin8"
 
-define i32 @foo(i32 %A, i32 %B, i32 %C) {
+define i32 @foo(i32 %A, i32 %B, i32 %C) nounwind {
 entry:
        switch i32 %A, label %out [
                 i32 1, label %bb