[llvm] [AArch64] Codegen for AArch64 Return Address Signing Hardening (PR #176187)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 01:28:01 PST 2026


================
@@ -10013,6 +10013,23 @@ AArch64InstrInfo::getOutliningCandidateInfo(
                                    ->getInfo<AArch64FunctionInfo>()
                                    ->getSignReturnAddressCondition();
   if (RASignCondition != SignReturnAddress::None) {
+    // Candidates that have Return Address Signing Hardening enabled are
+    // discarded.
+    //
+    // In its current form, the machine outliner does not preserve X16/X17
----------------
kovdan01 wrote:

Thanks for explanation! I believe the comment is fine then

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


More information about the llvm-commits mailing list