[all-commits] [llvm/llvm-project] 43847c: [ARM64EC] Warn on using disallowed registers in as...

Namish Kukreja via All-commits all-commits at lists.llvm.org
Mon Jun 3 16:34:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43847c1de60ddba26d93c138ad81aa0d3b3c8c31
      https://github.com/llvm/llvm-project/commit/43847c1de60ddba26d93c138ad81aa0d3b3c8c31
  Author: Namish Kukreja <namikukr at quicinc.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    A llvm/test/MC/AArch64/arm64ec-disallowed-regs.s

  Log Message:
  -----------
  [ARM64EC] Warn on using disallowed registers in assembly src. (#93618)

ARM64EC designates a set of disallowed registers, because a mapping does
not exist from them to x64. The MSVC assembler (armasm64) has a warning
for this.

A test is also included as part of the patch.

See the list of disallowed registers below:

https://learn.microsoft.com/en-us/cpp/build/arm64ec-windows-abi-conventions?view=msvc-170#register-mapping



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list