blob: bbb08f969853525fc3f879d13c4d4e0745b150e6 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; The reassociate pass is not preserving dominance properties correctly
2;
Dan Gohman3c7d3082009-09-11 18:01:28 +00003; RUN: opt < %s -reassociate
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004
Tanya Lattner028031a2008-03-19 04:36:04 +00005define i32 @compute_dist(i32 %i, i32 %j) {
6 %reg119 = sub i32 %j, %i ; <i32> [#uses=1]
7 ret i32 %reg119
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008}
9
10