[all-commits] [llvm/llvm-project] 0b8a44: [llvm][AArch64] Explain why certain registers are ...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Sep 13 03:13:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8a44388ec59abe8e91c5ead535f2f8de0f05f8
      https://github.com/llvm/llvm-project/commit/0b8a44388ec59abe8e91c5ead535f2f8de0f05f8
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    A llvm/test/CodeGen/AArch64/inline-asm-clobber-arm64ec.ll

  Log Message:
  -----------
  [llvm][AArch64] Explain why certain registers are reserved on Arm64EC

This extends 4658366d95d5e398baad956225cc4ba339d5b037 to add a note
explaining why the register is reserved.

note: x13 is clobbered by asynchronous signals when using Arm64EC.

I've added testing for w/x registers and v/q/s/d and h floating point
registers.

llvm will accept, but silently do nothing with, b registers. So they
are not tested here (clang rejects them so at least for C you're safe anyway).

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D133701




More information about the All-commits mailing list