]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: rewrite Rsh to RshU if arguments are proved positive
authorJorropo <jorropo.pgm@gmail.com>
Tue, 18 Nov 2025 00:42:37 +0000 (01:42 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 21 Nov 2025 20:37:30 +0000 (12:37 -0800)
commitec92bc6d63efdbd1e04b7590b8ec3ea5236503e0
treedf6444de3fa55fd85dab213762f592e81a2998d0
parent3820f94c1d081921494ada1da64b4fab21ae1a48
cmd/compile: rewrite Rsh to RshU if arguments are proved positive

Fixes #76332

Change-Id: I9044025d5dc599531c7f88ed2870bcf3d8b0acbd
Reviewed-on: https://go-review.googlesource.com/c/go/+/721206
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/prove.go
test/prove.go
test/prove_constant_folding.go