diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2018-04-29 17:40:47 -0700 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2018-04-30 00:59:26 +0000 |
commit | 743fd9171fe82045a2f25e6910d919322010c59a (patch) | |
tree | fcc46e7a97228d90ce0b1e2e9af6892bcc125ee3 /src/cmd/compile/internal/ssa/prove.go | |
parent | af5143e384535f824a22e71f33e36f0503ae3bb9 (diff) | |
download | go-743fd9171fe82045a2f25e6910d919322010c59a.tar.gz go-743fd9171fe82045a2f25e6910d919322010c59a.zip |
cmd/compile: use AuxInt to store shift boundedness
Fixes ssacheck build.
Change-Id: Idf1d2ea9a971a1f17f2fca568099e870bb5d913f
Reviewed-on: https://go-review.googlesource.com/110122
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/prove.go')
-rw-r--r-- | src/cmd/compile/internal/ssa/prove.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/prove.go b/src/cmd/compile/internal/ssa/prove.go index 1f9445e1bd..03f657da8a 100644 --- a/src/cmd/compile/internal/ssa/prove.go +++ b/src/cmd/compile/internal/ssa/prove.go @@ -994,7 +994,7 @@ func simplifyBlock(sdom SparseTree, ft *factsTable, b *Block) { } bits := 8 * v.Args[0].Type.Size() if lim.umax < uint64(bits) || (lim.max < bits && ft.isNonNegative(by)) { - v.Aux = true + v.AuxInt = 1 // see shiftIsBounded if b.Func.pass.debug > 0 { b.Func.Warnl(v.Pos, "Proved %v bounded", v.Op) } |