RFR: 8356760: VectorAPI: Optimize VectorMask.fromLong for all-true/all-false cases [v6]

erifan duke at openjdk.org
Fri Jul 25 09:27:20 UTC 2025


On Fri, 25 Jul 2025 07:21:38 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> erifan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add an assertion
>
> src/hotspot/share/opto/vectornode.cpp line 1989:
> 
>> 1987:   if (in1->Opcode() == Op_VectorStoreMask) {
>> 1988:     in1 = in1->in(1);
>> 1989:     assert(!in1->bottom_type()->isa_vectmask(), "sanity");
> 
> Assertion should precede before any other statement in the block :-)

Done, thanks~

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25793#discussion_r2230615716


More information about the hotspot-compiler-dev mailing list