aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/rewrite.go
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@gmail.com>2021-03-13 11:25:15 +0000
committerEmmanuel Odeke <emmanuel@orijtech.com>2021-03-13 11:56:59 +0000
commit289d34a465d46e5c5c07034f5d54afbfda06f5b9 (patch)
tree97aec5ba5660c49e50e6b1df2bd46db0770a5699 /src/cmd/compile/internal/ssa/rewrite.go
parentb3235b75d109f06eec0d3603c606b2d8373b9d4c (diff)
downloadgo-289d34a465d46e5c5c07034f5d54afbfda06f5b9.tar.gz
go-289d34a465d46e5c5c07034f5d54afbfda06f5b9.zip
all: remove duplicate words
Change-Id: Ib0469232a2b69a869e58d5d24990ad74ac96ea56 GitHub-Last-Rev: eb38e049ee1e773392ff3747e1eb2af20dd50dcd GitHub-Pull-Request: golang/go#44805 Reviewed-on: https://go-review.googlesource.com/c/go/+/299109 Trust: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/rewrite.go')
-rw-r--r--src/cmd/compile/internal/ssa/rewrite.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/rewrite.go b/src/cmd/compile/internal/ssa/rewrite.go
index 5c56b2b346..3c222f80bf 100644
--- a/src/cmd/compile/internal/ssa/rewrite.go
+++ b/src/cmd/compile/internal/ssa/rewrite.go
@@ -1414,7 +1414,7 @@ func isPPC64WordRotateMask(v64 int64) bool {
return (v&vp == 0 || vn&vpn == 0) && v != 0
}
-// Compress mask and and shift into single value of the form
+// Compress mask and shift into single value of the form
// me | mb<<8 | rotate<<16 | nbits<<24 where me and mb can
// be used to regenerate the input mask.
func encodePPC64RotateMask(rotate, mask, nbits int64) int64 {