test: Prefer CHECK-LABEL to CHECK in branchweight tests
[oota-llvm.git] / test / Transforms / ScalarRepl / 2003-09-12-IncorrectPromote.ll
index 7b921b7029c8030e6f08320f2be38ab9b44d0372..3f28cb187f867a7ef91f3f284d8f022c4217965c 100644 (file)
@@ -1,7 +1,6 @@
 ; Scalar replacement was incorrectly promoting this alloca!!
 ;
-; RUN: opt %s -scalarrepl -S | \
-; RUN:   sed {s/;.*//g} | grep {\\\[}
+; RUN: opt < %s -scalarrepl -S | FileCheck %s
 
 define i8* @test() {
        %A = alloca [30 x i8]           ; <[30 x i8]*> [#uses=1]
@@ -10,4 +9,4 @@ define i8* @test() {
        store i8 0, i8* %B
        ret i8* %C
 }
-
+; CHECK: alloca [