RFR: 8347645: C2: XOR bounded value handling blocks constant folding [v4]

Johannes Graham duke at openjdk.org
Thu Jan 23 17:04:50 UTC 2025


On Thu, 23 Jan 2025 16:23:53 GMT, Chen Liang <liach at openjdk.org> wrote:

>> @j3graham can you give us an explanation here?
>
> This is how the existing code worked - the bounded handling came before this bool handling.  This bool restriction has been here since the earliest publication of OpenJDK, I think.  I believe a professional with gvn knows better about this than maybe j3graham, who seems not as familiar.

I have removed the boolean check, per note from @merykitty

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23089#discussion_r1927343406


More information about the hotspot-compiler-dev mailing list