There are some cases where icmp(add) can be folded into a new icmp. Handle them.
[oota-llvm.git] / test / Transforms / InstCombine / apint-sub.ll
index 05328bc1a87fd3fdb1aa69c6c287a5ecdbb1b8b3..12f366de7f46fa8963a8f5c0c89770f4c3199a5e 100644 (file)
@@ -2,8 +2,9 @@
 ; even with arbitrary precision integers.
 ;
 
-; RUN:  llvm-as < %s | opt -instcombine | llvm-dis | \
-; RUN:   grep -v 'sub i19 %Cok, %Bok' | not grep sub
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN:   grep -v {sub i19 %Cok, %Bok} | not grep sub
+; END.
 
 define i23 @test1(i23 %A) {
        %B = sub i23 %A, %A             ; <i23> [#uses=1]