This is an archive of the discontinued LLVM Phabricator instance.

[DRAFT] [Coroutines] Add coro_maychange intrinsic to coroutines only for TLS variables
AbandonedPublic

Authored by ChuanqiXu on Apr 27 2022, 8:36 PM.

Details

Reviewers
jdoerfert
Summary

This is an alternative for https://reviews.llvm.org/D124361

Diff Detail

Event Timeline

ChuanqiXu created this revision.Apr 27 2022, 8:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2022, 8:36 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
ChuanqiXu requested review of this revision.Apr 27 2022, 8:36 PM
ChuanqiXu removed projects: Restricted Project, Restricted Project.
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
ChuanqiXu added inline comments.Apr 28 2022, 2:15 AM
llvm/lib/Transforms/Utils/InlineFunction.cpp
2127–2136

I feel this is not good since we need to traverse every use of every instruction when we inline a function into an unlowered coroutine. I think the time complexity is too high.

ChuanqiXu abandoned this revision.May 9 2022, 11:46 PM