[all-commits] [llvm/llvm-project] a7f404: [clang][SME] Emit error for OpenMP captured region...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Tue Jan 28 04:09:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7f4044bd01919df2bf2204d203ee0378e2e9fb2
      https://github.com/llvm/llvm-project/commit/a7f4044bd01919df2bf2204d203ee0378e2e9fb2
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/Decl.cpp
    M clang/lib/Sema/SemaARM.cpp
    M clang/lib/Sema/SemaStmt.cpp
    A clang/test/Sema/aarch64-sme-attrs-openmp-captured-region.c

  Log Message:
  -----------
  [clang][SME] Emit error for OpenMP captured regions in SME functions (#124590)

Currently, these generate incorrect code, as streaming/SME attributes
are not propagated to the outlined function. As we've yet to work on
mixing OpenMP and streaming functions (and determine how they should
interact with OpenMP's runtime), we think it is best to disallow this
for now.



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