FileCheckize a bunch of tests.
[oota-llvm.git] / test / Analysis / BasicAA / 2003-09-19-LocalArgument.ll
index c3977afd8b1366ff5e4109e0a30bf0c49c61fef9..fd4c239bbbee1889351bb50a011bab008b11b740 100644 (file)
@@ -1,6 +1,9 @@
 ; In this test, a local alloca cannot alias an incoming argument.
 
-; RUN: opt %s -gvn -instcombine | llvm-dis | not grep sub
+; RUN: opt < %s -basicaa -gvn -instcombine -S | FileCheck %s
+
+; CHECK:      define i32 @test
+; CHECK-NEXT: ret i32 0
 
 define i32 @test(i32* %P) {
        %X = alloca i32