http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51058

--- Comment #10 from Ira Rosen <irar at il dot ibm.com> 2011-11-11 06:03:14 UTC 
---
(In reply to comment #9)

> 
> patch fixes the ICE, but then the scalar stmt stays in the tree at the end of
> *.vect pass (and at least in this case is DCEd afterwards).

I wonder if we still really need this rhs change.

> If we wanted to do this replacement, I guess we could do that from
> vect_schedule_slp after all vect_schedule_slp_instance calls have returned,

Right, but only for pure SLP stmts.

> but we'd need to again recursively go through the instance tree.

Through all the instances.
We could also collect the calls during the analysis.

Reply via email to