search for: corosplitpass

Displaying 1 result from an estimated 1 matches for "corosplitpass".

2020 Nov 18
0
[RFC] Coroutine and pthread_self
...ad_self with a new attribute, say "ThreadConstAttr". Next, in the emitted IR, functions with "ThreadConstAttr" will have a new IR attribute, say "thread_readnone". Finally, there are two possible sub-solutions to handle this new IR attribute: a) We add a new Pass after CoroSplitPass that changes all the "thread_readnone" attributes back to "readnone". This will allow it to work properly prior to CoroSplit, and still provide a chance to do CSE after CoroSplit. This approach is simplest to implement. b) We never remove "thread_readnone". However, we...