Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / Transforms / Reassociate / 2002-07-09-DominanceProblem.ll
blobbbb08f969853525fc3f879d13c4d4e0745b150e6
1 ; The reassociate pass is not preserving dominance properties correctly
3 ; RUN: opt < %s -reassociate
5 define i32 @compute_dist(i32 %i, i32 %j) {
6         %reg119 = sub i32 %j, %i                ; <i32> [#uses=1]
7         ret i32 %reg119