Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; The reassociate pass is not preserving dominance properties correctly |
2 | ; | ||||
3 | ; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate | ||||
4 | |||||
5 | int %compute_dist(int %i, int %j) { | ||||
6 | %reg119 = sub int %j, %i | ||||
7 | ret int %reg119 | ||||
8 | } | ||||
9 | |||||
10 |