llvm-6502/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll

11 lines
214 B
LLVM
Raw Normal View History

; The reassociate pass is not preserving dominance properties correctly
;
; RUN: as < %s | opt -reassociate -verify
int %compute_dist(int %i, int %j) {
%reg119 = sub int %j, %i
ret int %reg119
}