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

Emanuel Peter epeter at openjdk.org
Tue Mar 25 07:23:13 UTC 2025


On Mon, 24 Mar 2025 17:51:25 GMT, Johannes Graham <duke at openjdk.org> wrote:

>> I  just hope that the abstraction here does not invalidate our intent to have constant min/max bounds for the clamping ;)
>
> It does the right thing with the constants - `testFoldableRange` would fail otherwise.

Ah, you are right, great :)

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

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


More information about the hotspot-compiler-dev mailing list