summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2017-05-23 04:21:27 +0000
committerGor Nishanov <GorNishanov@gmail.com>2017-05-23 04:21:27 +0000
commit6c4530c6b5045a9acd101c1221ea03a8d268f53f (patch)
tree8188e9d89f823a87441fc659449170d3ea08dd34 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent68fe6ee7685d5100f926716933277fcfb642483b (diff)
downloadbcm5719-llvm-6c4530c6b5045a9acd101c1221ea03a8d268f53f.tar.gz
bcm5719-llvm-6c4530c6b5045a9acd101c1221ea03a8d268f53f.zip
[coroutines] Add support for deallocation elision
Wrap deallocation code with: if (auto *mem = coro.free()) Deallocate When backend decides to elide allocations it will replace coro.free with nullptr to suppress deallocation code. llvm-svn: 303599
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud