diff options
| author | Ben Shi <powerman1st@163.com> | 2019-08-20 09:03:41 +0000 |
|---|---|---|
| committer | Ben Shi <powerman1st@163.com> | 2019-08-28 02:29:25 +0000 |
| commit | 731e6fc34ec1c99a72ac7c66db7a87786d918edf (patch) | |
| tree | 35649dec44895480b294f2d13c4b31716bf3b834 /test/codegen/mathbits.go | |
| parent | 9c67516ed69e6c5152b9f329f240f69f27f8004b (diff) | |
| download | go-731e6fc34ec1c99a72ac7c66db7a87786d918edf.tar.xz | |
cmd/compile: generate Select on WASM
This CL performs the branchelim optimization on WASM with its
select instruction. And the total size of pkg/js_wasm decreased
about 80KB by this optimization.
Change-Id: I868eb146120a1cac5c4609c8e9ddb07e4da8a1d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/190957
Run-TryBot: Ben Shi <powerman1st@163.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Richard Musiol <neelance@gmail.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions
