RFR: 8301740: RISC-V: Address::uses() should check address mode
Dingli Zhang
dzhang at openjdk.org
Fri Feb 3 07:05:36 UTC 2023
Follow [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
-------------
Commit messages:
- Check mode in Address::uses()
Changes: https://git.openjdk.org/jdk/pull/12401/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12401&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8301740
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12401.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12401/head:pull/12401
PR: https://git.openjdk.org/jdk/pull/12401
More information about the hotspot-compiler-dev
mailing list