RFR: 8365841: RISC-V: Several IR verification tests fail after JDK-8350960 without Zvfh
duke
duke at openjdk.org
Thu Aug 21 01:20:03 UTC 2025
On Wed, 20 Aug 2025 07:01:59 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:
> Hi,
> Can you help to review this patch? Thanks!
>
> The error in both cases is caused by the same reason: the target IR, MulReductionVI, is not matched.
> This is because the match_rule_supported_vector in riscv_v.ad is missing a break. If the if condition in `case MulReductionVI` evaluates to false, the loop will not exit until the `return UseZvfh`.
>
> Failed IR tests:
> compiler/loopopts/superword/ProdRed_Int.java
> compiler/loopopts/superword/RedTest_int.java
>
> ### Test (fastdebug)
> - [x] Run compiler/loopopts/superword/ProdRed_Int.java on k1 and k230
> - [x] Run compiler/loopopts/superword/RedTest_int.java on k1 and k230
@DingliZhang
Your change (at version 33dd53a9d94676a638fb1c02fe9107210c829267) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26854#issuecomment-3208607200
More information about the hotspot-compiler-dev
mailing list