[Reassociate] Canonicalize negative constants out of expressions.
[oota-llvm.git] / test / Transforms / LoopUnswitch / 2008-11-03-Invariant.ll
index 383aa5b671c78226f13d10f4601a89ed230c112f..31dba79be1f89b14cea17c794b771f2d224c854c 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1
+; REQUIRES: asserts
+; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | grep "1 loop-unswitch - Number of branches unswitched" | count 1
 ; PR 3170
 define i32 @a(i32 %x, i32 %y) nounwind {
 entry: