Consolidate some of the lit tests.
[oota-llvm.git] / test / Transforms / ArgumentPromotion / 2008-07-02-array-indexing.ll
index d35f853a2d34329d6eaf674f7ff7b43ef8640812..210eb97bc1dcdd476f5e8f3f42f254fcfe9391ef 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -argpromotion | llvm-dis > %t
-; RUN: cat %t | grep {define.*@callee(.*i32\\*}
+; RUN: opt < %s -argpromotion -S > %t
+; RUN: cat %t | grep "define.*@callee(.*i32\*"
 ; PR2498
 
 ; This test tries to convince argpromotion about promoting the load from %A + 2,