[LoongArch64] just skip the array type. (#86290)
authorQiao Pengcheng <qiaopengcheng@loongson.cn>
Tue, 16 May 2023 18:48:13 +0000 (02:48 +0800)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 18:48:13 +0000 (11:48 -0700)
commitf452d9c9064fd8fcc27db756f548aac474e326d8
treeaf95819873bd741c038e7a7b1559317ef9606434
parent690ded8485764406db27617641163b6ef694785c
[LoongArch64] just skip the array type. (#86290)

The `struct {int array[1]; float field_2;}` which the array field is only one element,
just skip it although it can be passed by registers one integer and one float-register.
Details see github https://github.com/dotnet/runtime/pull/62885#discussion_r821878981

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/coreclr/vm/methodtable.cpp