aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2017-02-13 16:00:09 -0800
committerKeith Randall <khr@golang.org>2017-02-17 06:16:44 +0000
commit708ba22a0c7b6c2e8f46fccb35998c21c60629b9 (patch)
tree971b3b192e6e42d0cc09e30a343d7bad65f1dcc9 /src/os/exec
parent794f1ebff7aeb4085ce7059011330a5efd946156 (diff)
downloadgo-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/os/exec')
0 files changed, 0 insertions, 0 deletions