[all-commits] [llvm/llvm-project] 22576e: [Clang][AArch64] Add pessimistic vscale_range for ...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Fri May 16 01:39:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22576e2ccec60af6d27d8fd95ad3ca721b914815
      https://github.com/llvm/llvm-project/commit/22576e2ccec60af6d27d8fd95ad3ca721b914815
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Basic/Targets/RISCV.h
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/test/CodeGen/AArch64/cpu-supports-target.c
    M clang/test/CodeGen/AArch64/targetattr.c
    M clang/test/CodeGen/X86/avx512-error.c
    M clang/test/CodeGen/target-avx-abi-diag.c

  Log Message:
  -----------
  [Clang][AArch64] Add pessimistic vscale_range for sve/sme (#137624)

The "target-features" function attribute is not currently considered
when adding vscale_range to a function. When +sve/+sme are pushed onto
functions with "#pragma attribute push(+sve/+sme)", the function
potentially misses out on optimizations that rely on vscale_range being
present.



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