From 461e34aedd9972f43522d269849fb83b7f8ad568 Mon Sep 17 00:00:00 2001 From: qiaopengcheng Date: Fri, 21 Apr 2023 17:16:08 +0800 Subject: [PATCH] [LoongArch64] revert TARGET_LOONGARCH64 which destroyed by RISCV#84584. --- src/coreclr/jit/scopeinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/jit/scopeinfo.cpp b/src/coreclr/jit/scopeinfo.cpp index 2278f18655567..8bc75c50813d6 100644 --- a/src/coreclr/jit/scopeinfo.cpp +++ b/src/coreclr/jit/scopeinfo.cpp @@ -961,7 +961,7 @@ void CodeGen::psiBegProlog() else { regType = compiler->mangleVarArgsType(lclVarDsc->TypeGet()); -#ifdef TARGET_LOONGARCH +#ifdef TARGET_LOONGARCH64 if (emitter::isGeneralRegisterOrR0(lclVarDsc->GetArgReg()) && isFloatRegType(regType)) { // For LoongArch64's ABI, the float args may be passed by integer register.