blob: c19baeaae68f8957c65b10406f85f8f075337d58 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; The reassociate pass is not preserving dominance properties correctly
2;
Tanya Lattner028031a2008-03-19 04:36:04 +00003; RUN: llvm-as < %s | opt -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