new testcase that crashes opt
[oota-llvm.git] / test / Transforms / GCSE / 2002-05-14-OperandSwap.ll
index 22296e344e7329ee7f706c2b7186a7d3b2e51972..57ac538172957ab28253a7c1e25d974bfbb9605f 100644 (file)
@@ -1,10 +1,7 @@
 ; This entire chain of computation should be optimized away, but
 ; wasn't because the two multiplies were not detected as being identical.
 ;
-; RUN: if as < %s  | opt -gcse -instcombine -dce | dis | grep sub
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s  | opt -gcse -instcombine -dce | dis | not grep sub
 
 implementation   ; Functions: