[all-commits] [llvm/llvm-project] ebb69b: [clang][WebAssembly] Only expose wait and notify b...

Thomas Lively via All-commits all-commits at lists.llvm.org
Fri May 8 13:56:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ebb69b8bafad6948ee6a14b4087fb7b440c73d0d
      https://github.com/llvm/llvm-project/commit/ebb69b8bafad6948ee6a14b4087fb7b440c73d0d
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-05-08 (Fri, 08 May 2020)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/test/CodeGen/builtins-wasm.c

  Log Message:
  -----------
  [clang][WebAssembly] Only expose wait and notify builtins with atomics

Summary:
Since the underlying wait and notify instructions are only available
when the atomics feature is enabled, it only makes sense to expose
their builtin functions when atomics are enabled.

Reviewers: aheejin, sunfish

Subscribers: dschuff, sbc100, jgravelle-google, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79534




More information about the All-commits mailing list