RFR: 8370863: VectorAPI: Optimize the VectorMaskCast chain in specific patterns [v8]
Eric Fang
erfang at openjdk.org
Tue Jan 27 09:05:43 UTC 2026
On Tue, 27 Jan 2026 08:54:04 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> I'm not sure I fully understood your point. This function can recursively uncast a chain of consecutive `VectorMaskCastNode`, so the pattern you mentioned above can be optimized to `(x)` even when there are multiple `VectorMaskCastNode` in between.
>>
>> I’m not sure I get what you mean. Could you elaborate on it a bit? Thanks~
>
> Woops, my bad. I read `if` instead of `while`. Sorry, you are right!
No problem, now I understand that this function behaves as we expect.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28313#discussion_r2730972580
More information about the hotspot-compiler-dev
mailing list