diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2017-05-23 03:46:59 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-05-23 03:46:59 +0000 |
commit | 68fe6ee7685d5100f926716933277fcfb642483b (patch) | |
tree | 12d4b964842a3fe94269a8f5ddad7546002873c6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 5e6c542ae37efb3f174c9c2bd9afc433ecec2dfd (diff) | |
download | bcm5719-llvm-68fe6ee7685d5100f926716933277fcfb642483b.tar.gz bcm5719-llvm-68fe6ee7685d5100f926716933277fcfb642483b.zip |
[coroutines] Replace all coro.frame builtins with an SSA value of coro.begin
SemaCoroutine forms expressions referring to the coroutine frame of the enclosing coroutine using coro.frame builtin.
During codegen, we emit llvm.coro.begin intrinsic that returns the address of the coroutine frame.
When coro.frame is emitted, we replace it with SSA value of coro.begin.
llvm-svn: 303598
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions