[PATCH] D92661: [RFC] Fix TLS and Coroutine

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 09:31:52 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]>;
+
----------------
hoy wrote:
> With the intrinsic, can TLS variable reference in the same coroutine or regular routine be DCE-ed anymore?
Sorry, I meant CSE-ed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92661



More information about the llvm-commits mailing list