[PATCH] D145131: [Arm][AArch64] Setting IsX18ReservedByDefault() to true for Unknown OSes

Murali Vijayaraghavan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 07:54:21 PST 2023


vmurali added a comment.



> As @DavidSpickett mentioned above, there are existing command line options that allow the user to opt-in to this behaviour, as recommended by the AAPCS64 document when creating platform-independent code:
>
>> Software developers creating platform-independent code are advised to avoid using r18 if at all possible.

Doesn't this imply x18 should be reserved by default unless they change the default to use it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145131



More information about the llvm-commits mailing list