[all-commits] [llvm/llvm-project] 1ced56: [Clang] Add support for scoped atomic thread fence...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Nov 18 14:43:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ced56540071476d0a4aa8cb5134106d02b5b7f1
      https://github.com/llvm/llvm-project/commit/1ced56540071476d0a4aa8cb5134106d02b5b7f1
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/scoped-fence-ops.c

  Log Message:
  -----------
  [Clang] Add support for scoped atomic thread fence (#115545)

Summary:
Previously we added support for all of the atomic GNU extensions with
optional memory scoped except for `__atomic_thread_fence`. This patch
adds support for that. This should ideally allow us to generically emit
these LLVM scopes.



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