]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: clarify division bounds check optimization
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 24 Jan 2020 06:18:30 +0000 (22:18 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 21 Feb 2020 17:28:10 +0000 (17:28 +0000)
commit1b47fde55c3899ee50e7fab35e151645aba96e9c
treece3c389c8ce8269aedc8d3a6f60ead6e244c77bb
parente932f0addc7d764a6bd534979b5cabaf0c1a6ad8
cmd/compile: clarify division bounds check optimization

The name of the function should mention division.
Eliminate double negatives from the comment describing it.

Change-Id: Icef1a5139b3a91b86acb930af97938f5160f7342
Reviewed-on: https://go-review.googlesource.com/c/go/+/217001
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/ssa/prove.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/x86/ssa.go