[PATCH] D125413: [ARM64EC 3/?] Mark reserved registers specific to ARM64EC ABI.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 13:32:47 PDT 2022


efriedma created this revision.
Herald added subscribers: zzheng, hiraditya, kristof.beyls, arichardson.
Herald added a project: All.
efriedma requested review of this revision.
Herald added a project: LLVM.

Part of patchset to add initial support for ARM64EC.

I'm not completely sure I understand the reason for this restriction, but Microsoft documentation says that asynchronous signals clobber these registers, so we can't ever use them.

As far as I know, none of these registers have any hardcoded meaning, so reserving them shouldn't have any significant side-effects.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125413

Files:
  llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
  llvm/lib/Target/AArch64/AArch64Subtarget.h
  llvm/test/CodeGen/AArch64/arm64ec-reservedregs.ll
  llvm/utils/UpdateTestChecks/asm.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125413.428757.patch
Type: text/x-patch
Size: 7169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220511/df5a5baa/attachment.bin>


More information about the llvm-commits mailing list