diff options
| author | Keith Randall <khr@golang.org> | 2017-02-13 16:00:09 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2017-02-17 06:16:44 +0000 |
| commit | 708ba22a0c7b6c2e8f46fccb35998c21c60629b9 (patch) | |
| tree | 971b3b192e6e42d0cc09e30a343d7bad65f1dcc9 /src/syscall/exec_linux.go | |
| parent | 794f1ebff7aeb4085ce7059011330a5efd946156 (diff) | |
| download | go-708ba22a0c7b6c2e8f46fccb35998c21c60629b9.tar.xz | |
cmd/compile: move constant divide strength reduction to SSA rules
Currently the conversion from constant divides to multiplies is mostly
done during the walk pass. This is suboptimal because SSA can
determine that the value being divided by is constant more often
(e.g. after inlining).
Change-Id: If1a9b993edd71be37396b9167f77da271966f85f
Reviewed-on: https://go-review.googlesource.com/37015
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
