[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 16:37:00 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp:335
+    markSuperRegs(Reserved, AArch64::W28);
+    for (unsigned i = AArch64::B15; i <= AArch64::B31; ++i)
+      markSuperRegs(Reserved, i);
----------------
mstorsjo wrote:
> The comment says `v16-v31` but the code seems to go from 15 to 31 - is that a typo? (Based on the comment in the testcase, the code is right and the comment above is the one that is wrong.)
Microsoft docs say v16-v31.  Will fix.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125413



More information about the llvm-commits mailing list