[PATCH] D124361: [Coroutines] Add coro_maychange intrinsic to solve TLS problem (2/5)
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 25 07:44:37 PDT 2022
efriedma added inline comments.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroEarly.cpp:265
+
+ Use.set(CallInst::Create(MaychangeFn, {&GV}, GV.getName(), UserInst));
+ }
----------------
UserInst might not be a legal insertion point for a call if it's a PHI node.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124361/new/
https://reviews.llvm.org/D124361
More information about the llvm-commits
mailing list