diff options
Diffstat (limited to 'llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll')
-rw-r--r-- | llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll b/llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll index a84297b8b45..41cba63d8fd 100644 --- a/llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll +++ b/llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll @@ -1,10 +1,9 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -disable-output +; RUN: llvm-as < %s | opt -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 } + |