[all-commits] [llvm/llvm-project] 3696a7: [WebAssembly] Use `localexec` as default TLS model...

Andrew Brown via All-commits all-commits at lists.llvm.org
Mon Jul 25 13:26:18 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3696a789d2aaef455a5c2268be1c3d06e804de64
  Author: Andrew Brown <andrew.brown at intel.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/test/CodeGen/WebAssembly/tls-general-dynamic.ll
    M llvm/test/CodeGen/WebAssembly/tls-local-exec.ll

  Log Message:
  [WebAssembly] Use `localexec` as default TLS model for non-Emscripten targets

Only Emscripten supports dynamic linking with threads. To use
thread-local storage for other targets, this change defaults to the
`localexec` model.

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

More information about the All-commits mailing list