[x86] Fix disassembly of callw instruction
[oota-llvm.git] / test / Transforms / InstCombine / add-shrink.ll
index 6dc02f361c97fc70c407eb5abe0515804d76c72f..3edb392ed184f2e5dfa8bf9147f773bf18ad3f60 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.