1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll

11 lines
223 B
LLVM
Raw Normal View History

; The reassociate pass is not preserving dominance properties correctly
;
; RUN: llvm-as < %s | opt -reassociate
define i32 @compute_dist(i32 %i, i32 %j) {
%reg119 = sub i32 %j, %i ; <i32> [#uses=1]
ret i32 %reg119
}