[all-commits] [llvm/llvm-project] fdc8e5: [Clang][AArch64] Fix typo with colon-separated syn...

Robert Dazi via All-commits all-commits at lists.llvm.org
Mon Mar 10 05:06:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdc8e5ab62318ff39832cbca2056044a9d45bfe0
      https://github.com/llvm/llvm-project/commit/fdc8e5ab62318ff39832cbca2056044a9d45bfe0
  Author: Robert Dazi <14996868+v01dXYZ at users.noreply.github.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M clang/lib/Sema/SemaARM.cpp
    M clang/test/Sema/aarch64-special-register.c

  Log Message:
  -----------
  [Clang][AArch64] Fix typo with colon-separated syntax for system registers (#105608)

The range for Op0 was set to 1 instead of 3.

The description of e493f177eeee84a9c6000ca7c92499233490f1d1 visually
explains the encoding of implementation-defined system registers.


https://github.com/llvm/llvm-project/blob/796787d07c30cb9448e1f9ff3f3da06c2fc96ccd/llvm/lib/Target/AArch64/AArch64SystemOperands.td#L658-L674

Gobolt: https://godbolt.org/z/WK9PqPvGE

Co-authored-by: v01dxyz <v01dxyz at v01d.xyz>



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