[Windows|Arm64|VarArgs] Correctly pass HFA arguments (dotnet/coreclr#18364)
authorJarret Shook <jashoo@microsoft.com>
Wed, 13 Jun 2018 22:44:37 +0000 (15:44 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Jun 2018 22:44:37 +0000 (15:44 -0700)
commitbd840edba01572cac4fd611c3e1a61c2aecd8fc2
treee2c4af8890370726b3ee19294dbfd237b0c8bba2
parent178cb8c517f6fcc8280721d0a1cb92e64ee40f60
[Windows|Arm64|VarArgs] Correctly pass HFA arguments (dotnet/coreclr#18364)

* Fix passing HFA of two floats to vararg methods

Previously, the type would be reported as HFA and enregistered; however,
this is not correct, as arm64 varargs abi requires passing using
int registers.

* Address linux build issue

* Apply final format patch

* Add _TARGET_WINDOWS_

Commit migrated from https://github.com/dotnet/coreclr/commit/c485d3fc4f8645fbfc381396c436711cb2344473
src/coreclr/src/jit/codegenarmarch.cpp
src/coreclr/src/jit/codegencommon.cpp
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/ee_il_dll.cpp
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/jit.h
src/coreclr/src/jit/lclvars.cpp
src/coreclr/src/jit/morph.cpp