blob: fe1a9cca8ea2a41f6aee9df770f83e185daa1e51 [file] [log] [blame]
Chris Lattner2c13d472002-07-09 19:41:21 +00001; The reassociate pass is not preserving dominance properties correctly
2;
Dan Gohman9737a632009-09-08 16:50:01 +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