Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -disable-output |
| 2 | |
| 3 | void %test(int %a, int %b, int %c, int %d) { |
| 4 | %tmp.2 = xor int %a, %b ; <int> [#uses=1] |
| 5 | %tmp.5 = xor int %c, %d ; <int> [#uses=1] |
| 6 | %tmp.6 = xor int %tmp.2, %tmp.5 ; <int> [#uses=1] |
| 7 | %tmp.9 = xor int %c, %a ; <int> [#uses=1] |
| 8 | %tmp.12 = xor int %b, %d ; <int> [#uses=1] |
| 9 | %tmp.13 = xor int %tmp.9, %tmp.12 ; <int> [#uses=1] |
| 10 | %tmp.16 = xor int %tmp.6, %tmp.13 ; <int> [#uses=0] |
| 11 | ret void |
| 12 | } |