search for: thread_readnone

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

2020 Nov 18
0
[RFC] Coroutine and pthread_self
...to update the Clang front-end to special handle the attributes of pthread_self function: replace the ConstAttr attribute of pthread_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...