[PATCH] D130142: [Coroutines] Introduce @llvm.coro.tls.wrapper to block optimizations
Yuanfang Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 20 11:25:34 PDT 2022
ychen added a comment.
John mentioned this test case,
thread_local int x = 0;
void helper(int *x, int y);
my_coro coroutine() {
helper(&x, co_await something_suspending());
}
Is replacing the TLS variable with `llvm.coro.tls.wrapper` in CoroEarly too late to fix the issue?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130142/new/
https://reviews.llvm.org/D130142
More information about the llvm-commits
mailing list