Chris Lattner | 14329b1 | 2002-07-09 19:41:21 +0000 | [diff] [blame] | 1 | ; The reassociate pass is not preserving dominance properties correctly |
2 | ; | ||||
Misha Brukman | e78760e | 2003-09-16 15:29:54 +0000 | [diff] [blame^] | 3 | ; RUN: llvm-as < %s | opt -reassociate |
Chris Lattner | 14329b1 | 2002-07-09 19:41:21 +0000 | [diff] [blame] | 4 | |
5 | int %compute_dist(int %i, int %j) { | ||||
6 | %reg119 = sub int %j, %i | ||||
7 | ret int %reg119 | ||||
8 | } | ||||
9 | |||||
10 |