]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: loop in disjoint OpOffPtr check
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 28 Oct 2018 18:19:33 +0000 (11:19 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 6 Nov 2018 00:21:47 +0000 (00:21 +0000)
commitc1a16b7dadfee27b03a2a70a20c3cf339a069a40
treebde9da4703ec0578bbf188c6b484fc23c294d000
parent9fc22d29092933460fe00bdaccea179f29e9960d
cmd/compile: loop in disjoint OpOffPtr check

We collapse OpOffPtrs during generic rewrites.
However, we also use disjoint at the same time.
Instead of waiting for all OpOffPtrs to be collapsed
before the disjointness rules can kick in,
burrow through all OpOffPtrs immediately.

Change-Id: I60d0a70a9b4605b1817db7c4aab0c0d789651c90
Reviewed-on: https://go-review.googlesource.com/c/145206
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/rewrite.go