Dan Gohman | f2f6ce6 | 2009-09-11 18:01:28 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -reassociate -disable-output |
Chris Lattner | bb5395b | 2003-08-12 21:35:55 +0000 | [diff] [blame] | 2 | |
Tanya Lattner | 7f40dea | 2008-03-19 04:36:04 +0000 | [diff] [blame] | 3 | define 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 |
Chris Lattner | bb5395b | 2003-08-12 21:35:55 +0000 | [diff] [blame] | 8 | } |
Tanya Lattner | 7f40dea | 2008-03-19 04:36:04 +0000 | [diff] [blame] | 9 | |