Add new testcases
[oota-llvm.git] / test / Transforms / InstCombine / div.ll
index 2bcd452c23bd59036d6a87eb436ca9af3c139680..01fcf7f9dcdd1ebf44e930a47d7e07213cf77a2d 100644 (file)
@@ -1,10 +1,7 @@
 ; This test makes sure that div instructions are properly eliminated.
 ;
 
-; RUN: if as < %s | opt -instcombine | dis | grep div
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
 
 implementation