[all-commits] [llvm/llvm-project] ea5841: [WebAssembly] Implement %llvm.thread.pointer intri...

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Nov 26 17:19:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea58410d0fd75c9dc6d395bba15e939ed7c35cb1
      https://github.com/llvm/llvm-project/commit/ea58410d0fd75c9dc6d395bba15e939ed7c35cb1
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2024-11-26 (Tue, 26 Nov 2024)

  Changed paths:
    M clang/test/CodeGen/builtins-wasm.c
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    A llvm/test/CodeGen/WebAssembly/thread_pointer.ll

  Log Message:
  -----------
  [WebAssembly] Implement %llvm.thread.pointer intrinsic (#117817)

We can simply use the `__tls_base` global for this which is guaranteed
to be non-zero and unique per thread.

Fixes: #117433



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