[all-commits] [llvm/llvm-project] 8fc6fc: [clang][AArch64] Avoid a crash when a non-reserved...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Fri Dec 6 14:58:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fc6fca9f28ce20d76066be66fcc41aa38f7dc3d
      https://github.com/llvm/llvm-project/commit/8fc6fca9f28ce20d76066be66fcc41aa38f7dc3d
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    A clang/test/CodeGen/AArch64/fixed-register-global.c
    R clang/test/Driver/aarch64-fixed-register-global.c
    M clang/test/Sema/aarch64-fixed-global-register.c

  Log Message:
  -----------
  [clang][AArch64] Avoid a crash when a non-reserved register is used (#117419)

Fixes #76426, #109778 (for AArch64)

The previous patch for this issue, #94271, generated an error message if
a register and a global variable did not have the same size. This patch
checks if the register is reserved.



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