I am sorry If this was already discussed (or there is a better place to ask), but I couldn’t find the answer.
Like in the following example (Compiler Explorer), compiler generated function tls_init
accesses tls_guard
(TLS var) directly, without llvm.threadlocal.address
intrinsic.
Is that on purpose or we should/can use the intrinsic here as well?