[vector] RFR: Fix crash at compile.cpp:2695
Lupusoru, Razvan A
razvan.a.lupusoru at intel.com
Tue Mar 6 21:36:22 UTC 2018
Looks good to me. Thanks!
--Razvan
-----Original Message-----
From: panama-dev [mailto:panama-dev-bounces at openjdk.java.net] On Behalf Of Vladimir Ivanov
Sent: Tuesday, March 06, 2018 1:29 PM
To: 'panama-dev at openjdk.java.net' <panama-dev at openjdk.java.net>
Subject: [vector] RFR: Fix crash at compile.cpp:2695
http://cr.openjdk.java.net/~vlivanov/panama/vector/repeated_expansion/webrev.00/
Merge-through-phis can lead to a situation when VectorAllocateBox is shared between multiple VectorBox nodes. It happens when there are other uses of a Phi which participates in the merge. In that case it's safe to skip the expansion: the value stored into the already expanded box should be the same.
Best regards,
Vladimir Ivanov
More information about the panama-dev
mailing list