1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
2007-01-17 07:59:14 +00:00

11 lines
326 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}