From 7244eac9dfe4e7e9c3eea613149f0fb1390f00aa Mon Sep 17 00:00:00 2001 From: Xiaolin Zheng Date: Fri, 11 Nov 2022 08:03:48 +0000 Subject: [PATCH] 8296771: RISC-V: C2: assert(false) failed: bad AD file Reviewed-by: shade, fyang --- src/hotspot/cpu/riscv/riscv.ad | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/cpu/riscv/riscv.ad b/src/hotspot/cpu/riscv/riscv.ad index aab7d69f187..2a6d72a780f 100644 --- a/src/hotspot/cpu/riscv/riscv.ad +++ b/src/hotspot/cpu/riscv/riscv.ad @@ -3265,6 +3265,7 @@ operand iRegP() match(RegP); match(iRegPNoSp); match(iRegP_R10); + match(iRegP_R15); match(javaThread_RegP); op_cost(0); format %{ %}