[Reassociate] Canonicalize negative constants out of expressions.
[oota-llvm.git] / test / Transforms / Reassociate / looptest.ll
index 3b28c2389538d93317c1462040b53f33682b3c79..aad3b206f69f1d14a336ec7f01eb67950110f248 100644 (file)
 ; In this case, we want to reassociate the specified expr so that i+j can be
 ; hoisted out of the inner most loop.
 ;
-; RUN: llvm-as < %s | opt -reassociate | llvm-dis | grep 115 | not grep 117
+; RUN: opt < %s -reassociate -S | grep 115 | not grep 117
 ; END.
 @.LC0 = internal global [4 x i8] c"%d\0A\00"           ; <[4 x i8]*> [#uses=1]
 
 declare i32 @printf(i8*, ...)
 
+; FIXME: No longer works.
 define void @test(i32 %Num, i32* %Array) {
 bb0:
        %cond221 = icmp eq i32 0, %Num          ; <i1> [#uses=3]