[all-commits] [llvm/llvm-project] 7d8d51: Recommit "[TargetVersion] Only enable on RISC-V an...

Piyou Chen via All-commits all-commits at lists.llvm.org
Mon Nov 25 01:11:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d8d51ed3409cae96fb975281deca2babf4f9994
      https://github.com/llvm/llvm-project/commit/7d8d51ed3409cae96fb975281deca2babf4f9994
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    A clang/test/Sema/attr-target-version-unsupported.c

  Log Message:
  -----------
  Recommit "[TargetVersion] Only enable on RISC-V and AArch64" (#117110)" (#117128)

Remain InheritableAttr to avoid the warning `TypePrinter.cpp:1953:10:
warning: enumeration value ‘TargetVersion’ not handled in switch`

origin messenge

[TargetVersion] Only enable on RISC-V and AArch64 (#115991) Address
#115000.

This patch constrains the target_version feature to work only on RISC-V
and AArch64 to prevent crashes in Clang.

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>



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