Rewrite test/ExecutionEngine tests to use FileCheck instead of grep
[oota-llvm.git] / test / Transforms / GlobalOpt / constantexpr-dangle.ll
index 6fa139be22278a9d5ba76d5a7d4c845858fab1f6..be13a9811898709a495a3990433c4318ab4e81aa 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine -globalopt | llvm-dis | \
-; RUN:   grep {internal fastcc float @foo}
+; RUN: opt < %s -instcombine -globalopt -S | \
+; RUN:   grep "internal fastcc float @foo"
 
 define internal float @foo() {
         ret float 0.000000e+00