summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit0ea4c8d706dd0ebc086a500a08d1cefc26836341 (patch)
treeede0db04abeac6a428bffcdf5c3b17c6908f6d36 /llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
parent1d526b90aa9d317d5fcd9d8a180f8f551ec96da2 (diff)
downloadbcm5719-llvm-0ea4c8d706dd0ebc086a500a08d1cefc26836341.tar.gz
bcm5719-llvm-0ea4c8d706dd0ebc086a500a08d1cefc26836341.zip
Upgrade tests to not use llvm-upgrade.
llvm-svn: 48530
Diffstat (limited to 'llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll')
-rw-r--r--llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll15
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
}
+
OpenPOWER on IntegriCloud