llvm-project
1bd3cc26 - [AArch64][SME] Support Windows/stack probes in MachineSMEABIPass (#149063)

Commit
26 days ago
[AArch64][SME] Support Windows/stack probes in MachineSMEABIPass (#149063) On Windows or with stack probes on other targets, additional code needs to be inserted after dynamic stack allocations to validate stack accesses and/or ensure enough stack space has been allocated. Rather than handle this case in the MachineSMEABIPass (like we do for the standard case), we allocate the memory for the lazy save buffer in SelectionDAG, which allows the existing expansions to emit the correct code. Note: This means in these cases, we may allocate a lazy save buffer when there are no lazy saves present in the function (as we have to allocate the buffer before the MachineSMEABIPass runs).
Author
Parents
Loading