Tanya Lattner | 028031a | 2008-03-19 04:36:04 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | opt -reassociate -disable-output |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
Tanya Lattner | 028031a | 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 |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 8 | } |
Tanya Lattner | 028031a | 2008-03-19 04:36:04 +0000 | [diff] [blame] | 9 | |