[llvm] [AArch64] Fix handling of x29/x30 in inline assembly clobbers (PR #167783)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 02:13:21 PST 2025


https://github.com/DavidSpickett commented:

I think this needs a release note in https://github.com/llvm/llvm-project/blob/main/llvm/docs/ReleaseNotes.md#changes-to-the-aarch64-backend.

I suggest:
* A bug was fixed that caused LLVM IR inline assembly clobbers of the `x29` and `x30` registers to be ignored when they were written using their `xN` names instead of the ABI names `FP` and `LR`. Note that LLVM IR produced by Clang always uses the ABI names, but other frontends may not. (#link-to-this-pr)

Feel free to copy paste that if you think it's correct. And more importantly, if you had never found this problem and read this release note during a Zig update, what would you want to see there?

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


More information about the llvm-commits mailing list