On Tue, 1 Sep 2026 08:15:56 GMT, Roberto Castañeda Lozano 
<[email protected]> wrote:

> Let me try to sketch some additional tests.

Here is a bunch of tests that check that the updated idealizations in 
`AndLNode::Ideal` work as expected. I went with low-level primitives (loading 
the markword via `UNSAFE.getLong`) for robustness and simplicity. I ran the 
tests successfully in all Oracle-supported platforms, with no additional 
configuration (the tests expect a flagless VM, to avoid undesired interactions 
with flags like e.g. `UseArrayFlattening`): 
https://github.com/openjdk/jdk/commit/57335fe00915daee4840671f7ceafa90689c75ac. 
Feel free to incorporate them into this PR, if you want.

I also checked manually that `FlatArrayCheck` nodes with multiple array inputs 
are expanded as expected after the changeset, but the pattern to trigger that 
is too cumbersome to derive an IR test from it.

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

PR Comment: https://git.openjdk.org/jdk/pull/32544#issuecomment-5494218070

Reply via email to