[llvm] [AArch64] Use a load instead of a store for inline stack probes (PR #170855)

Benjamin Lerman via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 03:05:47 PST 2025


qsr wrote:

> Frequently, when big buffers are put on the stack we end up with multiple virtual pages COW-mapped to single physical zero page. Stack probes would unnecessarily trigger a COW on such pages. Avoid this by using loads into the `XZR`.

Done. Thanks!

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


More information about the llvm-commits mailing list