test: Prefer CHECK-LABEL to CHECK in branchweight tests
[oota-llvm.git] / test / Transforms / ConstProp / 2006-12-01-bool-casts.ll
index dd1e46d8c6fcf98faa1230a31f9c1648659fae1e..71db4211c5d228d211d02b806902cf4010e37cd7 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
-; RUN:    grep {ret i32 -1}
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
-; RUN:    grep {ret i32 1}
+; RUN: opt < %s -constprop -S | \
+; RUN:    grep "ret i32 -1"
+; RUN: opt < %s -constprop -S | \
+; RUN:    grep "ret i32 1"
 
 define i32 @test1() {
         %A = sext i1 true to i32                ; <i32> [#uses=1]