[SystemZ] Add test missing from r186148
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / invariant_value_first.ll
index 86a1c257655bdaa07559fc745c88b96960cb318e..5c18809e59c2f93b8726be98eabbc38a99caebf2 100644 (file)
@@ -1,7 +1,8 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
-; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
+; RUN: opt < %s -loop-reduce -S | \
+; RUN:   not grep "getelementptr.*%outer.*%INDVAR"
 
+target datalayout = "e-p:32:32:32-n8:16:32"
 declare i1 @pred()
 
 declare i32 @foo()