test: Prefer CHECK-LABEL to CHECK in branchweight tests
[oota-llvm.git] / test / Transforms / ScalarRepl / volatile.ll
index fadf1aa276c85a69806a74679f31a7fbad5d3d88..d506cdfbd87a16f84d4c90838db5aaf2ff3c327c 100644 (file)
@@ -1,12 +1,13 @@
-; RUN: opt < %s -scalarrepl -S | grep {load volatile}
-; RUN: opt < %s -scalarrepl -S | grep {store volatile}
+; RUN: opt < %s -scalarrepl -S | FileCheck %s
 
 define i32 @voltest(i32 %T) {
        %A = alloca {i32, i32}
        %B = getelementptr {i32,i32}* %A, i32 0, i32 0
        store volatile i32 %T, i32* %B
+; CHECK: store volatile
 
        %C = getelementptr {i32,i32}* %A, i32 0, i32 1
        %X = load volatile i32* %C
+; CHECK: load volatile
        ret i32 %X
 }