diff options
author | Keith Randall <khr@golang.org> | 2022-10-27 08:28:06 -0700 |
---|---|---|
committer | Keith Randall <khr@google.com> | 2022-10-27 17:09:50 +0000 |
commit | 0156b797e6f0d1a116a19cd852f569ec2c2eec11 (patch) | |
tree | 045ca4dc0202cb6844ff25f5096c432e9f30fea7 /src/cmd/compile/internal/ssa/opGen.go | |
parent | da0913f814dd4dcd28698dc5b85a3347b77b5550 (diff) | |
download | go-git-0156b797e6f0d1a116a19cd852f569ec2c2eec11.tar.gz |
cmd/compile: recognize when the result of append has a constant length
Fixes a performance regression due to CL 418554.
Fixes #56440
Change-Id: I6ff152e9b83084756363f49ee6b0844a7a284880
Reviewed-on: https://go-review.googlesource.com/c/go/+/445875
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/opGen.go')
0 files changed, 0 insertions, 0 deletions