Fix early stack offset and size computations for ARM32 with FEATURE_FASTTAILCALL...
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Wed, 9 Mar 2022 12:59:09 +0000 (13:59 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Mar 2022 12:59:09 +0000 (13:59 +0100)
commitcef825fd5425203ac28d073bf9fccc33c638f179
tree274e3c3e9b7b07cf943e80f521c835fe5129209b
parentc9f7f7389e8e9a00d501aef696333b67d218baac
Fix early stack offset and size computations for ARM32 with FEATURE_FASTTAILCALL enabled (#66367)

When FEATURE_FASTTAILCALL is enabled we compute stack offsets for parameters early. These are used to check for interference when placing arguments for fast tailcalls. On ARM32 the assigned offsets were wrong in several cases involving alignment and when we have split parameters.
src/coreclr/jit/compiler.h
src/coreclr/jit/ee_il_dll.cpp
src/coreclr/jit/lclvars.cpp
src/coreclr/jit/morph.cpp
src/coreclr/jit/register_arg_convention.h