Skip to content

Commit

Permalink
[RISC-V] Fix CodeGen::instGen_Set_Reg_To_Imm (#93411)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaurtaev authored Oct 18, 2023
1 parent a6e3732 commit aa4d5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coreclr/jit/codegenriscv64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,8 @@ void CodeGen::instGen_Set_Reg_To_Imm(emitAttr size,

if (EA_IS_RELOC(size))
{
NYI_RISCV64("EA_IS_RELOC in instGen_Set_Reg_To_Imm-----unimplemented on RISCV64 yet----");
assert(genIsValidIntReg(reg));
GetEmitter()->emitIns_R_AI(INS_jal, size, reg, imm);
}
else
{
Expand Down

0 comments on commit aa4d5f9

Please sign in to comment.