summaryrefslogtreecommitdiff
path: root/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll
blob: fe1a9cca8ea2a41f6aee9df770f83e185daa1e51 (plain)
1
2
3
4
5
6
7
8
9
10
; The reassociate pass is not preserving dominance properties correctly
;
; RUN: opt %s -reassociate

define i32 @compute_dist(i32 %i, i32 %j) {
	%reg119 = sub i32 %j, %i		; <i32> [#uses=1]
	ret i32 %reg119
}