diff --git a/src/coreclr/jit/scopeinfo.cpp b/src/coreclr/jit/scopeinfo.cpp index 2278f18655567a..8bc75c50813d6d 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.