blob: 41cba63d8fdab1686add8afa2dc56b38538cac40 [file] [log] [blame]
Tanya Lattner028031a2008-03-19 04:36:04 +00001; RUN: llvm-as < %s | opt -reassociate -disable-output
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner028031a2008-03-19 04:36:04 +00003define i32 @test(i32 %A.1, i32 %B.1, i32 %C.1, i32 %D.1) {
4 %tmp.16 = and i32 %A.1, %B.1 ; <i32> [#uses=1]
5 %tmp.18 = and i32 %tmp.16, %C.1 ; <i32> [#uses=1]
6 %tmp.20 = and i32 %tmp.18, %D.1 ; <i32> [#uses=1]
7 ret i32 %tmp.20
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008}
Tanya Lattner028031a2008-03-19 04:36:04 +00009