[all-commits] [llvm/llvm-project] d185bd: [AArch64] Enable vscale_range with +sme (#124466)

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 3 17:38:20 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d185bd94ff7717429fd2fffbcd0d4c7c64c05f0b
      https://github.com/llvm/llvm-project/commit/d185bd94ff7717429fd2fffbcd0d4c7c64c05f0b
  Author: David Green <david.green at arm.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    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/lib/CodeGen/Targets/RISCV.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/CodeGen/AArch64/sme-intrinsics/aarch64-sme-attrs.cpp

  Log Message:
  -----------
  [AArch64] Enable vscale_range with +sme (#124466)

If we have +sme but not +sve, we would not set vscale_range on
functions. It should be valid to apply it with the same range with just
+sme, which can help mitigate some performance regressions in cases such
as scalable vector bitcasts (https://godbolt.org/z/exhe4jd8d).

(cherry picked from commit 9f1c825fb62319b94ac9604f733afd59e9eb461b)



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