diff options
author | Andrew Wilkins <axwalk@gmail.com> | 2014-12-31 03:46:49 +0000 |
---|---|---|
committer | Andrew Wilkins <axwalk@gmail.com> | 2014-12-31 03:46:49 +0000 |
commit | 75f34af99c413d4573826ca355b53f67eb5626d7 (patch) | |
tree | 8b9e4a731c53313f40d06d3d72df62393435087e /llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h | |
parent | 553185ee4bf14b5ca2126e0efa677be6334b8813 (diff) | |
download | bcm5719-llvm-75f34af99c413d4573826ca355b53f67eb5626d7.tar.gz bcm5719-llvm-75f34af99c413d4573826ca355b53f67eb5626d7.zip |
[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
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h')
0 files changed, 0 insertions, 0 deletions