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

Aleksey Shipilev shade at redhat.com
Tue Mar 20 09:28:34 UTC 2018

On 03/20/2018 10:25 AM, Roland Westrelin wrote:
> http://cr.openjdk.java.net/~roland/8199784/webrev.00/
> When a Load is sunk out of a loop, if one of the uses is a Phi of a
> strip mined CountedLoop, PhaseIdealLoop::place_near_use() should return
> the entry control of the OuterStripMinedLoop.
> I couldn't write a test case that would trigger this and I'm not even
> sure it's even possible. We're seeing this with some graph patterns that
> are specific to Shenandoah but I think it's better to have this fixed
> anyway.

Yes. Also, the patch in this form was in Shenandoah repos for a while, and survived the testing we
threw on it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20180320/158347e3/signature.asc>

More information about the hotspot-compiler-dev mailing list