Files
clang-p2996/llvm/test/CodeGen/AArch64/stack-hazard.ll
Benjamin Maxwell 5248e1d4e1 [AArch64] Fix frame-pointer offset with hazard padding (#118091)
The `-aarch64-stack-hazard-size=<val>` option disables register paring
(as the hazard padding may mean the offset is too large for STP/LDP).

This broke setting the frame-pointer offset, as the code to find the
frame record looked for a (FP, LR) register pair.

This patch resolves this by looking for FP, LR as two unpaired registers
when hazard padding is enabled.
2024-12-02 09:32:15 +00:00

148 KiB