]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: respect Node.Bounded when inserting OpArraySelect
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 3 Apr 2017 17:00:02 +0000 (10:00 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 3 Apr 2017 17:31:08 +0000 (17:31 +0000)
commit7439ba32ffe5461372a5b51cc315d8c0e8dae03e
treede46c4c9731ea5e35157206e67c099e31d80203e
parent9d5987d79f42b018ce8c57ac2d90ce0d81f0d646
cmd/compile: respect Node.Bounded when inserting OpArraySelect

This triggers 119 times during make.bash.

This CL reduces the time it takes for the
compiler to panic while compiling the code in #19751
from 22 minutes to 15 minutes. Yay, I guess.

Updates #19751

Change-Id: I8ca7f1ae75f89d1eb2a361d67b3055a975221734
Reviewed-on: https://go-review.googlesource.com/39294
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/ssa.go