From 2633d5c2b1ac6a43497a1def27659e967dc2037c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 12 Aug 2003 21:35:55 +0000 Subject: [PATCH] new testcase llvm-svn: 7791 --- .../Transforms/Reassociate/2003-08-12-InfiniteLoop.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll diff --git a/test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll b/test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll new file mode 100644 index 00000000000..7919bad9e1e --- /dev/null +++ b/test/Regression/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 ; [#uses=1] + %tmp.18 = and int %tmp.16, %C.1 ; [#uses=1] + %tmp.20 = and int %tmp.18, %D.1 ; [#uses=1] + ret int %tmp.20 +}