From b4f40e9c567db61d75e078a1c8d0e795a72b6f90 Mon Sep 17 00:00:00 2001 From: Dong-Heon Jung Date: Mon, 24 Apr 2023 09:58:59 +0900 Subject: [PATCH] [RISCV64] Fix build error - Fixed build error due to no return value in non-void function (ins_Move_Extend) - https://github.com/dotnet/runtime/issues/84834 --- src/coreclr/jit/instr.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/coreclr/jit/instr.cpp b/src/coreclr/jit/instr.cpp index 97d0d94754a416..0e454994d6c861 100644 --- a/src/coreclr/jit/instr.cpp +++ b/src/coreclr/jit/instr.cpp @@ -1485,6 +1485,9 @@ instruction CodeGen::ins_Move_Extend(var_types srcType, bool srcInReg) #elif defined(TARGET_ARM) assert(!varTypeIsSIMD(srcType)); return INS_vmov; +#elif defined(TARGET_RISCV64) + NYI("ins_Move_Extend"); // not used for RISCV64 + return INS_invalid; #else NYI("ins_Move_Extend"); #endif