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

Roland Westrelin roland at openjdk.java.net
Wed Jan 5 17:06:58 UTC 2022


On Wed, 5 Jan 2022 13:11:34 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> That's a nice solution to use split if like that! Looks good.
> 
> Maybe you want to add the example (1) and the final result in the last snippet as comment to the optimization as well to provide a visual hint.

Thanks. I should have addressed your comments and suggestions with the new version. I also moved all that logic in its own method.

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

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


More information about the hotspot-compiler-dev mailing list