RFR: 8376220: C2: Refactor the logic to in MemNode::find_previous_store [v3]

Hannes Greule hgreule at openjdk.org
Sat Jan 24 18:28:01 UTC 2026


On Sat, 24 Jan 2026 17:52:49 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> Hi,
>> 
>> This patch refactors the logic in `MemNode::find_previous_store` and makes a small improvement to `MemNode::detect_ptr_independence`. An IR test accompanies the improvement.
>> 
>> Please take a look and share your thoughts, thanks a lot.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix test failures

test/hotspot/jtreg/compiler/c2/gvn/TestFindStore.java line 31:

> 29:  * @test
> 30:  * @bug 8360192
> 31:  * @summary Tests that count bits nodes are handled correctly.

I assume this is a copy-paste leftover?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29390#discussion_r2724467917


More information about the hotspot-compiler-dev mailing list