pcc added a comment.

> Any callee-saved register can be used.

In fact, any register may be used, as long as it cannot be used to pass 
arguments or return values. It may be better to select a temporary register, as 
`x18` is on aarch64 when not being used as a platform register, so that 
problems are noticed more easily (i.e. more likely to be clobbered by 
incompatible code).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84414/new/

https://reviews.llvm.org/D84414



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to