]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: run checkbce after fuseLate pass
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 16 Jul 2024 16:56:56 +0000 (23:56 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 23 Jul 2024 23:50:30 +0000 (23:50 +0000)
commit864aa8644879983d903e59995e6a31c95c50e8ff
tree687dba5b1e0d4111c203bc7ae0934de84a80960a
parent3f9360345cc1e3286abbb7bf5fbce50481a0bbbd
cmd/compile: run checkbce after fuseLate pass

So the bounds check which are eliminated during late fuse pass could be
detected correctly.

Fixes #67329

Change-Id: Id7992fbb8c26e0d43e7db66a0a3a2c0d9ed937a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/598635
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/checkbce.go
src/cmd/compile/internal/ssa/compile.go
test/fixedbugs/issue67329.go [new file with mode: 0644]