[PATCH] D124841: [PowerPC] Stash GPR to VSR if emergency spill slot is not reachable
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 14:52:47 PDT 2022
efriedma added a comment.
> If such an emergency spill also needs to be spilled to a location with a large offset
This shouldn't happen; the emergency spill slot should be placed in a location with a small offset from the frame/stack pointer.
If it's impossible to allocate an emergency spill slot close to the stack pointer, I think we should force a frame pointer, and the emergency spill slot should be allocated close to that. See, for example, AArch64FrameLowering::hasFP().
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124841/new/
https://reviews.llvm.org/D124841
More information about the llvm-commits
mailing list