commit | ef5fe9035c8233682de7009987a9a261edbceee3 | [log] [tgz] |
---|---|---|
author | Andrew Wilkins <axwalk@gmail.com> | Wed Dec 31 03:46:49 2014 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 03 12:32:48 2020 -0700 |
tree | c1a503aa0bc9290645b6055bd0a586ccf1c66ecd | |
parent | 013814a21f0758e14e7a579dbe0312461a4541a6 [diff] |
[llgo] Elide alloca for unused received values in select Summary: If a receive case in a select statement is not assigned to a named variable, then we can eliminate the alloca and copy at runtime. Test Plan: lit test added Reviewers: pcc Reviewed By: pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6785 llvm-svn: 225033 GitOrigin-RevId: 75f34af99c413d4573826ca355b53f67eb5626d7