]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow InlMark operations to be speculatively executed
authorMichael Munday <mndygolang+git@gmail.com>
Wed, 6 Aug 2025 21:43:05 +0000 (22:43 +0100)
committerMichael Munday <mndygolang+git@gmail.com>
Mon, 11 Aug 2025 07:52:23 +0000 (00:52 -0700)
commit084c0f849467d5e45b7242cda3dd957352e86b8f
tree71157b01e2ded9ca67c9e8c076dca5c7cdbc78d6
parenta62f72f7a7ee606c803d1c68cadd24e45eea5e83
cmd/compile: allow InlMark operations to be speculatively executed

Although InlMark takes a memory argument it ultimately becomes a
NOP and therefore is safe to speculatively execute.

Fixes #74915

Change-Id: I64317dd433e300ac28de2bcf201845083ec2ac82
Reviewed-on: https://go-review.googlesource.com/c/go/+/693795
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/compile/internal/ssa/branchelim.go
test/codegen/fuse.go