RFR(M): 8146629: Make phase->is_IterGVN() accessible from Node::Identity and Node::Value
tobias.hartmann at oracle.com
Thu Jan 7 18:51:12 UTC 2016
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.
More information about the hotspot-compiler-dev