Fix struct promotion check for SIMD field (dotnet/coreclr#18548)
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 19 Jun 2018 20:35:02 +0000 (13:35 -0700)
committerGitHub <noreply@github.com>
Tue, 19 Jun 2018 20:35:02 +0000 (13:35 -0700)
commitdcaeb4d99835fb4929ef65afc8d70b0817229879
tree66a6f2bc86cb05909c01ba149b43abf21eb5ddf1
parent3658b911ee0650cb12393988e5852a3bee03036a
Fix struct promotion check for SIMD field (dotnet/coreclr#18548)

A struct can have `lvIsRegArg` true but have multiple SIMD fields if it is passed by reference.

Commit migrated from https://github.com/dotnet/coreclr/commit/d3905518d08ca174ae631aebfe16314b885aa61a
src/coreclr/src/jit/lclvars.cpp