blob: af7a821a4bab65c186d80aea84285c45007c23b2 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -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