You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Arm64] Extend Compiler::lvaFrameAddress() and JIT to allow using SP as base register #47810
At the moment, on Arm64 we always establish frame pointer when allocating a stack frame. Given that fact and based on the logic in Compiler::lvaFrameAddress() the JIT would always use fp as a base register for addressing locals and temps. This can lead to un-optimal codegen in a situation when the JIT is required to use frameType=5 (i.e., when fp points to a location above locals) instead of frameType=3 (i.e., when fp points to a location below locals). The following is a snippet of such un-optimal codegen when such restriction on fp value is imposed:
I noticed this while implementing stack probe helper support on Arm64 in #43250 when the JIT is required to store fp,lr register pair earlier during prolog execution to be able to call a helper.
Activity
echesakov commentedon Mar 15, 2022
Un-assigning myself
cc @BruceForstall