test: Prefer CHECK-LABEL to CHECK in branchweight tests
[oota-llvm.git] / test / Transforms / ConstProp / logicaltest.ll
index 022e6ae11e69f674a1d0f5ac9bc2da4f86a9bf7b..abd3275a4f7441fcb0b58f722197373221d9f53d 100644 (file)
@@ -1,7 +1,7 @@
-; Ensure constant propogation of logical instructions is working correctly.
+; Ensure constant propagation of logical instructions is working correctly.
 
-; RUN: opt %s -constprop -die | llvm-dis | \
-; RUN:   not egrep {and|or|xor}
+; RUN: opt < %s -constprop -die -S | FileCheck %s
+; CHECK-NOT:     {{and|or|xor}}
 
 define i32 @test1() {
         %R = and i32 4, 1234            ; <i32> [#uses=1]