[Reassociate] Canonicalize negative constants out of expressions.
[oota-llvm.git] / test / Transforms / LoopUnswitch / 2008-11-03-Invariant.ll
index 7174968e926cef38eabab6efe85975b525596233..31dba79be1f89b14cea17c794b771f2d224c854c 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: opt %s -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: