]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: minor tweak for race detector
authorDavid Chase <drchase@google.com>
Wed, 2 Jul 2025 22:00:12 +0000 (18:00 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 3 Oct 2025 19:30:00 +0000 (12:30 -0700)
commitab043953cbd6e3cd262548710f35f05924aa8f32
tree9251919cd8ac5b643b08060b1c8901d235507085
parentebb72bef44a0e125c7f900a04af6538e3c39dfc6
cmd/compile: minor tweak for race detector

This makes the front-end a little bit less temp-happy
when instrumenting, which repairs the "is it a constant?"
test in the simd intrinsic conversion which is otherwise
broken by race detection.

Also, this will perhaps be better code.

Cherry-picked from the dev.simd branch. This CL is not
necessarily SIMD specific. Apply early to reduce risk.

Change-Id: I84b7a45b7bff62bb2c9f9662466b50858d288645
Reviewed-on: https://go-review.googlesource.com/c/go/+/685637
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/708856
src/cmd/compile/internal/walk/walk.go