]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: remove OHMUL Op
authorMatthew Dempsky <mdempsky@google.com>
Fri, 3 Mar 2017 10:43:44 +0000 (02:43 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 3 Mar 2017 17:47:53 +0000 (17:47 +0000)
commitd8a0f748013dae2a731a9a37f94ab0e37d096ee2
tree6100ebc521174011085034df9cffcda854a17f9d
parent77f64c50dbaca5fcec8198a575f6c345cb80ad69
cmd/compile/internal/gc: remove OHMUL Op

Previously the compiler rewrote constant division into OHMUL
operations, but that rewriting was moved to SSA in CL 37015. Now OHMUL
is unused, so we can get rid of it.

Change-Id: Ib6fc7c2b6435510bafb5735b3b4f42cfd8ed8cdb
Reviewed-on: https://go-review.googlesource.com/37750
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/opnames.go
src/cmd/compile/internal/gc/racewalk.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/gc/typecheck.go
src/cmd/compile/internal/gc/universe.go
src/cmd/compile/internal/gc/walk.go