RFR: 8281453: New optimization: convert `~x` into `-1-x` when `~x` is used in an arithmetic expression [v9]

Vladimir Kozlov kvn at openjdk.org
Thu Oct 6 21:39:34 UTC 2022


On Thu, 6 Oct 2022 19:01:15 GMT, Zhiqiang Zang <duke at openjdk.org> wrote:

>> @merykitty I removed the use check. Does it look good to you? I did not include test `(x + y) & ~(x + y) => 0` because I found we do not have such idealization in `AndINode` because even `x & ~x => 0` is not supported.
>
>> @CptGit Did you updated performance numbers for latest changes? Did they change?
> 
> @vnkozlov Updated now. Thanks.

> @CptGit This pull request has not yet been marked as ready for integration.

I think, it is because PR title does not match JBS entry title.

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

PR: https://git.openjdk.org/jdk/pull/7376


More information about the hotspot-compiler-dev mailing list