atrosinenko wrote:

@kovdan01 Thank you for the reproducer!

I restored the original check `TI->readsRegister(AArch64::X16, TRI) ? 
AArch64::X17 : AArch64::X16` when computing the scratch register, as checking 
just the specific operand did not handle the `AUTH_TCRETURN*` pseudos which 
actually have two register operands. Additionally, the register class of the 
second register operand of these pseudo instructions was restricted, as it 
seems to be just a coincidence that at least one scratch register was available 
for authenticated tail calls.

https://github.com/llvm/llvm-project/pull/110705
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to