This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Fix PR tree-optimization/19038
On Fri, 2005-01-21 at 15:09 -0500, Diego Novillo wrote:
> Daniel Berlin wrote:
> > + /* Don't replace loop invariant variables with loop variant copies. */
> > + if (loop_depth_of_name (val) > loop_depth_of_name (op))
> > + return false;
> Hmm, what if loop_depth(val) > loop_depth(op) but VAL is not loop variant?
loop-im would have hoisted it if it was profitable, and then we'd have
copy-proped that version in dom3.