Set flag in comp info to signal that a caller has >8 byte struct args (#22775)
authorJarret Shook <jashoo@microsoft.com>
Thu, 28 Feb 2019 22:30:03 +0000 (14:30 -0800)
committerGitHub <noreply@github.com>
Thu, 28 Feb 2019 22:30:03 +0000 (14:30 -0800)
commit0a29aaf5e40d36cdd23f59b2dee487cf8b926391
tree69dd78cd77029fe2e5742bc7e1260162ab1ca04f
parentc395a8a8e7a987000455d65efac371973d96a3c8
Set flag in comp info to signal that a caller has >8 byte struct args (#22775)

* Set flag in comp info to signal that a caller has >8 byte struct args

This will be used by fgCanFastTailCall to correctly determine whether an arm64
or x64 linux caller/callee can fastTailCall.
It is also a workaround to #12468 to catch early any slot shuffling that would happen in LowerFastTailCall. Which currently assumes all parameters are one slot size.

* Address feedback

* Apply format patch

* Add comment

* apply new format patch
src/jit/compiler.h
src/jit/lclvars.cpp
src/jit/morph.cpp
src/jit/register_arg_convention.h
tests/src/JIT/Regression/JitBlue/GitHub_22330/GitHub_22330.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_22330/GitHub_22330.csproj [new file with mode: 0644]