Merging r259798, r259835:
[oota-llvm.git] / test / Transforms / Reassociate / 2003-08-12-InfiniteLoop.ll
index 59e482d95ea98c2abe7eb3ef555cd0cd291dcc1f..af7a821a4bab65c186d80aea84285c45007c23b2 100644 (file)
@@ -1,10 +1,9 @@
-; RUN: llvm-as < %s | opt -reassociate -disable-output
+; RUN: opt < %s -reassociate -disable-output
 
-implementation   ; Functions:
-
-int %test(int %A.1, int %B.1, int %C.1, int %D.1) {
-       %tmp.16 = and int %A.1, %B.1            ; <int> [#uses=1]
-       %tmp.18 = and int %tmp.16, %C.1         ; <int> [#uses=1]
-       %tmp.20 = and int %tmp.18, %D.1         ; <int> [#uses=1]
-       ret int %tmp.20
+define i32 @test(i32 %A.1, i32 %B.1, i32 %C.1, i32 %D.1) {
+       %tmp.16 = and i32 %A.1, %B.1            ; <i32> [#uses=1]
+       %tmp.18 = and i32 %tmp.16, %C.1         ; <i32> [#uses=1]
+       %tmp.20 = and i32 %tmp.18, %D.1         ; <i32> [#uses=1]
+       ret i32 %tmp.20
 }
+