summaryrefslogtreecommitdiff
path: root/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-19 04:36:04 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-19 04:36:04 +0000
commit7f40dea2f1bcb54121f84a479756fb319427e059 (patch)
treef305fb747a30dbbf154961adc0fc8cd6ce871f80 /test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
parentf396cc87302d9a69b3680c339d219c49262f5bf3 (diff)
downloadllvm-7f40dea2f1bcb54121f84a479756fb319427e059.tar.gz
llvm-7f40dea2f1bcb54121f84a479756fb319427e059.tar.bz2
llvm-7f40dea2f1bcb54121f84a479756fb319427e059.tar.xz
Upgrade tests to not use llvm-upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll')
-rw-r--r--test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll15
1 files changed, 7 insertions, 8 deletions
diff --git a/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll b/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
index a84297b8b4..41cba63d8f 100644
--- a/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
+++ b/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
}
+