RFR: 8351468: C2: array fill optimization assigns wrong type to intrinsic call

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Mar 14 09:57:51 UTC 2025


On Thu, 13 Mar 2025 15:21:17 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> I would expect the `memory_type` of a `StoreC` into a `long[]` to be something that means "a part of a `long[]`"

If that was the intended meaning of `MemNode::memory_type()`, wouldn't the function be redundant, because we can retrieve that information from `MemNode::adr_type()` already?

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

PR Comment: https://git.openjdk.org/jdk/pull/24005#issuecomment-2724199373


More information about the hotspot-compiler-dev mailing list