merge some tests.
[oota-llvm.git] / test / Transforms / InstCombine / add-shrink.ll
index 6dc02f361c97fc70c407eb5abe0515804d76c72f..cc5747866311a42daf08e6175c37169c2a4e65f5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add i32}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sext | count 1
+; RUN: opt < %s -instcombine -S | grep {add nsw i32}
+; RUN: opt < %s -instcombine -S | grep sext | count 1
 
 ; Should only have one sext and the add should be i32 instead of i64.