]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove nlz function
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 21 Apr 2020 06:04:59 +0000 (13:04 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 21 Apr 2020 18:15:14 +0000 (18:15 +0000)
commit65c9b575664a1012c4fa91c9736aa1f1d324cdb4
tree67a6eb9afabc33f5688d47f0f858b1ab3c7e8133
parenta95bf77e1a756d3d3a03c73d2898d8553b8b6168
cmd/compile: remove nlz function

Use nlzX variants instead. While at it, also remove tests involve
nlz/nlo/nto/log2, since when we are calling directly "math/bits"
functions.

Passes toolstash-check.

Change-Id: I83899741a29e05bc2c19d73652961ac795001781
Reviewed-on: https://go-review.googlesource.com/c/go/+/229138
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/fmtmap_test.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewrite_test.go