| commit | 75f34af99c413d4573826ca355b53f67eb5626d7 | [log] [tgz] |
|---|---|---|
| author | Andrew Wilkins <axwalk@gmail.com> | Wed Dec 31 03:46:49 2014 +0000 |
| committer | Andrew Wilkins <axwalk@gmail.com> | Wed Dec 31 03:46:49 2014 +0000 |
| tree | 8b9e4a731c53313f40d06d3d72df62393435087e | |
| parent | 553185ee4bf14b5ca2126e0efa677be6334b8813 [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