Use the new prcontext script.
[oota-llvm.git] / test / Transforms / IndVarsSimplify / 2003-09-23-NotAtTop.ll
index 637a094359d145d12564edf21a5febfdc29a4692..ccb578737226ed534532352ce7c2e16c8e9e7400 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars  | llvm-dis | grep -C1 Loop: | grep %indvar
+; RUN: llvm-as < %s | opt -indvars  | llvm-dis | %prcontext Loop: 1 | grep %indvar
 
 ; The indvar simplification code should ensure that the first PHI in the block 
 ; is the canonical one!