diff options
| author | Brian Kessler <brian.m.kessler@gmail.com> | 2019-09-08 21:50:07 -0600 |
|---|---|---|
| committer | Martin Möhrmann <moehrmann@google.com> | 2019-11-07 16:30:46 +0000 |
| commit | 6b1d5471b9ab649322def7075d488c65d5f78cbf (patch) | |
| tree | fe326c2e33cd1e5b61562ff75fe81c278339e8f8 /src/runtime/mpallocbits_test.go | |
| parent | 14849f0fa57c67996bb00bd42bb14cef9f4e9a1e (diff) | |
| download | go-6b1d5471b9ab649322def7075d488c65d5f78cbf.tar.xz | |
cmd/compile: add signed indivisibility by power of 2 rules
Commit 44343c777c (CL 173557) added rules for handling
divisibility checks for powers of 2 for signed integers, x%c ==0.
This change adds the complementary indivisibility rules, x%c != 0.
Fixes #34166
Change-Id: I87379e30af7aff633371acca82db2397da9b2c07
Reviewed-on: https://go-review.googlesource.com/c/go/+/194219
Run-TryBot: Brian Kessler <brian.m.kessler@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/mpallocbits_test.go')
0 files changed, 0 insertions, 0 deletions
