[PATCH] D92661: [RFC] Fix TLS and Coroutine
Hongtao Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 4 09:28:16 PST 2020
hoy added inline comments.
================
Comment at: llvm/include/llvm/IR/Intrinsics.td:1309
+// Intrinsic to obtain the address of a thread_local variable.
+def int_threadlocal : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty]>;
+
----------------
With the intrinsic, can TLS variable reference in the same coroutine or regular routine be DCE-ed anymore?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92661/new/
https://reviews.llvm.org/D92661
More information about the cfe-commits
mailing list