summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/Lint.cpp
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2016-08-06 20:44:39 +0000
committerGor Nishanov <GorNishanov@gmail.com>2016-08-06 20:44:39 +0000
commit2ed6e788a8f5d5fc953582277e5dd9ec2cad449a (patch)
tree246c46599d27f78d62c29ddfd8127557c3cd262c /llvm/lib/Analysis/Lint.cpp
parentea49d3addc79d271569830ab051950fa144310cc (diff)
downloadbcm5719-llvm-2ed6e788a8f5d5fc953582277e5dd9ec2cad449a.tar.gz
bcm5719-llvm-2ed6e788a8f5d5fc953582277e5dd9ec2cad449a.zip
[Coroutines] Part 5: Add CGSCC restart trigger
Summary: CoroSplit pass processes the coroutine twice. First, it lets it go through complete IPO optimization pipeline as a single function. It forces restart of the pipeline by inserting an indirect call to an empty function "coro.devirt.trigger" which is devirtualized by CoroElide pass that triggers a restart of the pipeline by CGPassManager. (In later patches, when CoroSplit pass sees the same coroutine the second time, it splits it up, adds coroutine subfunctions to the SCC to be processed by IPO pipeline.) Documentation and overview is here: http://llvm.org/docs/Coroutines.html. Upstreaming sequence (rough plan) 1.Add documentation. (https://reviews.llvm.org/D22603) 2.Add coroutine intrinsics. (https://reviews.llvm.org/D22659) 3.Add empty coroutine passes. (https://reviews.llvm.org/D22847) 4.Add coroutine devirtualization + tests. ab) Lower coro.resume and coro.destroy (https://reviews.llvm.org/D22998) c) Do devirtualization (https://reviews.llvm.org/D23229) 5.Add CGSCC restart trigger + tests. <= we are here 6.Add coroutine heap elision + tests. 7.Add the rest of the logic (split into more patches) Reviewers: mehdi_amini, majnemer Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D23234 llvm-svn: 277936
Diffstat (limited to 'llvm/lib/Analysis/Lint.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud