RFR: 8301740: RISC-V: Address::uses() should check address mode

Dingli Zhang dzhang at openjdk.org
Mon Feb 6 02:38:49 UTC 2023


On Sat, 4 Feb 2023 10:51:09 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>> Follow up [JDK-8299733](https://bugs.openjdk.org/browse/JDK-8299733). Although RISC-V does not trigger the same issue at the moment, we should better deal with this as well.
>> 
>> We have only three addressing mode in RISC-V and I think switch statement is not needed. If we get another literal type, we can update here together with many places that would need to be updated at the same time. I think it's enough to just test for non-literal so far.
>> 
>> ## Testing:
>> 
>> - all tier1 on unmatched board without new failures
>
> Marked as reviewed by luhenry (Committer).

@luhenry @feilongjiang @RealFYang  Thanks for the review!

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

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


More information about the hotspot-compiler-dev mailing list