[PATCH] D64900: [WebAssembly] Implement __builtin_wasm_tls_base intrinsic

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 12:21:15 PDT 2019


sunfish added inline comments.


================
Comment at: cfe/trunk/include/clang/Basic/BuiltinsWebAssembly.def:34
 TARGET_BUILTIN(__builtin_wasm_tls_size, "z", "nc", "bulk-memory")
+TARGET_BUILTIN(__builtin_wasm_tls_base, "v*", "n", "bulk-memory")
 
----------------
This can also be "p" for "pure", which despite the name, just means there are no mutating side effects.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64900/new/

https://reviews.llvm.org/D64900





More information about the llvm-commits mailing list