blob: bbb08f969853525fc3f879d13c4d4e0745b150e6 [file] [log] [blame]
Chris Lattner2c13d472002-07-09 19:41:21 +00001; The reassociate pass is not preserving dominance properties correctly
2;
Dan Gohman18800922009-09-11 18:01:28 +00003; RUN: opt < %s -reassociate
Chris Lattner2c13d472002-07-09 19:41:21 +00004
Tanya Lattner0ea4c8d2008-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
Chris Lattner2c13d472002-07-09 19:41:21 +00008}
9
10