Use opt -S instead of piping bitcode output through llvm-dis.
[oota-llvm.git] / test / Transforms / InstCombine / preserve-sminmax.ll
index d8e9e4c8421d92da9b5b9c6c4475e93d912f5e4c..df4ed8dbabffe6c9045ecc51b5a012566d2c9b77 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
+; RUN: opt %s -instcombine -S | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
 
 ; Instcombine normally would fold the sdiv into the comparison,
 ; making "icmp slt i32 %h, 2", but in this case the sdiv has