[llvm-branch-commits] [llvm] [AArch64][PAC] Emit tail calls more efficiently (PR #220193)
Victor Campos via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Sep 3 09:00:33 PDT 2026
================
@@ -3519,6 +3493,21 @@ void AArch64AsmPrinter::emitInstruction(const MachineInstr *MI) {
emitPtrauthBranch(MI);
return;
+ case AArch64::PAUTH_CHECK_LR: {
+ assert(MI->getNumImplicitOperands() == 1 && "Scratch register expected");
+ Register ScratchReg = MI->implicit_operands().begin()->getReg();
----------------
vhscampos wrote:
Move this line below the early return
https://github.com/llvm/llvm-project/pull/220193
More information about the llvm-branch-commits
mailing list