diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-12 21:35:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-12 21:35:55 +0000 |
commit | bb5395b586ae93fcd502c0d5a04b88badc1dfde6 (patch) | |
tree | c309dd079e4dc7ee87b77df53a39e84f0b5932cd | |
parent | dc20a3e7d373a4747ae4cd9188ef6a4dec284924 (diff) |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7791 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll b/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll new file mode 100644 index 0000000000..7919bad9e1 --- /dev/null +++ b/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll @@ -0,0 +1,10 @@ +; RUN: 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 +} |