blob: 59e482d95ea98c2abe7eb3ef555cd0cd291dcc1f [file] [log] [blame]
Misha Brukmane78760e2003-09-16 15:29:54 +00001; RUN: llvm-as < %s | opt -reassociate -disable-output
Chris Lattnerbb5395b2003-08-12 21:35:55 +00002
3implementation ; Functions:
4
5int %test(int %A.1, int %B.1, int %C.1, int %D.1) {
6 %tmp.16 = and int %A.1, %B.1 ; <int> [#uses=1]
7 %tmp.18 = and int %tmp.16, %C.1 ; <int> [#uses=1]
8 %tmp.20 = and int %tmp.18, %D.1 ; <int> [#uses=1]
9 ret int %tmp.20
10}