]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix the issue of shift amount exceeding the valid range
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Tue, 16 Sep 2025 07:27:42 +0000 (15:27 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Thu, 18 Sep 2025 01:05:31 +0000 (18:05 -0700)
commit78ef487a6f936a39e9d4ebf66ac421bb1244a7a9
tree06dc11a37edc4854fc93e0cb035d5336df8cf2c1
parent77aac7bb75edc222dd7b350e8b76c20c79da5f43
cmd/compile: fix the issue of shift amount exceeding the valid range

Fixes #75479

Change-Id: I362d3e49090e94f91a840dd5a475978b59222a00
Reviewed-on: https://go-review.googlesource.com/c/go/+/704135
Reviewed-by: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
src/cmd/compile/internal/ssa/_gen/LOONG64.rules
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
src/cmd/compile/internal/ssa/rewriteLOONG64.go
test/codegen/shift.go