2002-07-09 21:41:21 +02:00
|
|
|
; The reassociate pass is not preserving dominance properties correctly
|
|
|
|
;
|
2003-09-16 17:29:54 +02:00
|
|
|
; RUN: llvm-as < %s | opt -reassociate
|
2002-07-09 21:41:21 +02:00
|
|
|
|
|
|
|
int %compute_dist(int %i, int %j) {
|
|
|
|
%reg119 = sub int %j, %i
|
|
|
|
ret int %reg119
|
|
|
|
}
|
|
|
|
|
|
|
|
|