RFR(M): 8146629: Make phase->is_IterGVN() accessible from Node::Identity and Node::Value
vladimir.kozlov at oracle.com
Mon Jan 11 19:30:17 UTC 2016
On 1/11/16 2:08 AM, Tobias Hartmann wrote:
> FYI, I had to merge with JDK-8143353  (CosDNode and SinDNode were removed).
> This is the change I indent to push:
>  http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/13b04370e8e9
> On 07.01.2016 19:51, Tobias Hartmann wrote:
>> please review the following patch.
>> Currently, there is no way to determine in Node::Identity() and Node::Value() if we were called from GVN or IGVN but sometimes we would like to do optimizations based on this information (for example, see discussion in RFR for JDK-8136469 ). I changed the arguments of Node::Identity() and Node::Value() from PhaseTransform* to PhaseGVN*. Like this, we can simply call PhaseValues::is_IterGVN() from both methods.
>>  http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2016-January/020670.html
More information about the hotspot-compiler-dev