llvm-project/llgo/irgen
Andrew Wilkins 75f34af99c [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
2014-12-31 03:46:49 +00:00
..
annotations.go
attribute.go
builtins.go irgen: do not emit an extra terminator for panic thunks 2014-12-28 22:39:01 +00:00
cabi.go
call.go
channels.go [llgo] Elide alloca for unused received values in select 2014-12-31 03:46:49 +00:00
closures.go
compiler.go irgen: modify the ABI to use init guards instead of priority 2014-12-31 00:25:39 +00:00
errors.go Update to new bindings. 2014-12-13 02:26:00 +00:00
indirect.go
interfaces.go
maps.go
predicates.go
println.go
runtime.go
slice.go
ssa.go [llgo] Elide alloca for unused received values in select 2014-12-31 03:46:49 +00:00
strings.go Test commit 2014-12-19 02:45:48 +00:00
targets.go
typemap.go irgen: introduce ManglePackagePath function 2014-12-31 00:25:34 +00:00
types.go
utils.go
value.go
version.go