aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorGiovanni Bajo <rasky@develer.com>2018-03-10 11:17:05 +0100
committerGiovanni Bajo <rasky@develer.com>2018-03-13 23:21:38 +0000
commiteb44b8635cc774d0f2b2f96637116a5b41943bc5 (patch)
treeb0291c16f80a27d456546bfb1239419b30c3fdbd /src/runtime
parente601c079082658399445c2698f7e5cb60d23db29 (diff)
downloadgo-eb44b8635cc774d0f2b2f96637116a5b41943bc5.tar.xz
cmd/compile: remove BTQconst rule
This rule is meant for code optimization, but it makes other rules potentially more complex, as they need to cope with the fact that a 32-bit op (BTLconst) can appear everywhere a 64-bit rule maches. Move the optimization to opcode expansion instead. Tests will be added in following CL. Change-Id: Ica5ef291e7963c4af17c124d4a2869e6c8f7b0c7 Reviewed-on: https://go-review.googlesource.com/99995 Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions