[llvm] [AArch64][SME] Fix frame lowering not using a base pointer for SME functions. (PR #91643)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 15:22:48 PDT 2024


efriedma-quic wrote:

Oh, I see, reproduced.

Probably there should be a comment in this code that the base pointer is necessary to ensure the emergency spill slot is reachable.

Probably you can write a reduced testcase to force an emergency spill (just need to ensure you have a store to a stack slot with no scavengeable register... should be able to force that with inline asm).  I'd be okay leaving it out if it turns out to be too tricky to write, though.  The unreduced case probably isn't that useful.

https://github.com/llvm/llvm-project/pull/91643


More information about the llvm-commits mailing list