aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll')
-rw-r--r--test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll b/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
index 0b5e4152c4..3f28cb187f 100644
--- a/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
+++ b/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
@@ -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 [