[all-commits] [llvm/llvm-project] 8b281b: [AArch64][AsmParser] Remove 'x31' alias for 'sp/xz...

CarolineConcatto via All-commits all-commits at lists.llvm.org
Sun Nov 1 23:58:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b281bfaf35d00d42c2993fd5a80d749cc21f45e
      https://github.com/llvm/llvm-project/commit/8b281bfaf35d00d42c2993fd5a80d749cc21f45e
  Author: Caroline Concatto <caroline.concatto at arm.com>
  Date:   2020-11-02 (Mon, 02 Nov 2020)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/test/MC/AArch64/basic-a64-diagnostics.s
    M llvm/test/tools/llvm-mca/AArch64/Exynos/load.s
    M llvm/test/tools/llvm-mca/AArch64/Exynos/store.s

  Log Message:
  -----------
  [AArch64][AsmParser] Remove 'x31' alias for 'sp/xzr' register.

Only the aliases 'xzr' and 'sp' exist for the physical register x31.
The reason for wanting to remove the alias 'x31' is because it allows users
to write invalid asm that is not accepted by the GNU assembler.

Is there any objection to removing this alias? Or do we want to keep
this for compatibility with existing code that uses w31/x31?

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




More information about the All-commits mailing list