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