RFR(S): 8199784: PhaseIdealLoop::place_near_use() might return wrong control with loop strip mining

Roland Westrelin rwestrel at redhat.com
Wed Mar 21 17:01:56 UTC 2018

> I am asking why not just do next?:
> +  if (u_loop->_child) {
> +    if (u_loop->_head->is_OuterStripMinedLoop()) {
> +      return u_loop->_head->in(LoopNode::EntryControl);

That would cover the case where the load is moved from inside the strip
mined counted loop to the outer loop, that is after the counted
loop end.


More information about the hotspot-compiler-dev mailing list