linux-packaging-mono/external/llvm/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

11 lines
213 B
LLVM

; 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
}