RFR: 8310308: IR Framework: check for type and size of vector nodes [v15]

Christian Hagedorn chagedorn at openjdk.org
Mon Jul 3 10:46:02 UTC 2023


On Mon, 3 Jul 2023 09:32:03 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/c2/irTests/TestVectorConditionalMove.java line 209:
>> 
>>> 207:                   IRNode.VECTOR_MASK_CMP_F, ">0",
>>> 208:                   IRNode.VECTOR_BLEND_F, ">0",
>>> 209:                   IRNode.STORE_VECTOR, ">0"},
>> 
>> Since "IR node count > 0" is quite a common usage, we could think about introducing a separate "hasAny" `@IR` node attribute at some point and replace all usages. But this is of course unrelated to this patch and could be done separately at some point.
>
> It would be nice not to have to write ">0" all the time :)

Right :-) I've filed [JDK-8311238](https://bugs.openjdk.org/browse/JDK-8311238) to keep track of that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14539#discussion_r1250680718


More information about the hotspot-compiler-dev mailing list