RFR: 8278228: C2: Improve identical back-to-back if elimination [v4]

Roland Westrelin roland at openjdk.java.net
Fri Jan 7 12:37:43 UTC 2022


On Fri, 7 Jan 2022 09:45:17 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review
>
> src/hotspot/share/opto/split_if.cpp line 36:
> 
>> 34: RegionNode* PhaseIdealLoop::split_thru_region(Node* n, RegionNode* region) {
>> 35:   assert(n->is_CFG(), "");
>> 36:   assert(region->is_Region(), "");
> 
> This assertion can also be removed or moved to L445 as sanity check.

Right, as_Region() takes care of the assert anyway.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6882


More information about the hotspot-compiler-dev mailing list