RFR: 8288281: compiler/vectorapi/VectorFPtoIntCastTest.java failed with "IRViolationException: There were one or multiple IR rule failures." [v2]

Sandhya Viswanathan sviswanathan at openjdk.org
Thu Jun 16 14:49:05 UTC 2022


On Thu, 16 Jun 2022 07:13:41 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Sandhya Viswanathan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use IRNode instead of string
>
> test/hotspot/jtreg/compiler/vectorapi/VectorFPtoIntCastTest.java line 87:
> 
>> 85: 
>> 86:     @Test
>> 87:     @IR(counts = {"VectorCastF2X", "> 0"})
> 
> You can directly use `IRNode.VECTOR_CAST_F2X` (and `IRNode.VECTOR_CAST_D2X` below) which makes it clearer that this is an actual IR node and not a custom string.

@chhagedorn I made the change accordingly.

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

PR: https://git.openjdk.org/jdk/pull/9177


More information about the hotspot-compiler-dev mailing list