Skip to content

Commit 9fa1235

Browse files
authored
[LoongArch64] clear float type when passed by integer reg. (#101713)
1 parent 8283049 commit 9fa1235

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/coreclr/jit/targetloongarch64.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ ABIPassingInformation LoongArch64Classifier::Classify(Compiler* comp,
161161
canPassArgInRegisters = m_floatRegs.Count() > 0;
162162
if (!canPassArgInRegisters)
163163
{
164+
type = TYP_I_IMPL;
164165
m_floatRegs.Clear();
165166
canPassArgInRegisters = m_intRegs.Count() > 0;
166167
}

0 commit comments

Comments
 (0)