mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Revert "Revert "cmd/compile: adjust RISCV64 rewrite rules to use typed aux fields""
This reverts commit 98c32670fd454939794504225dca1d4ec55045d5. Rolling-forward with trivial format-string fix cmd/compile: adjust RISCV64 rewrite rules to use typed aux fields Also add a typed version of mergeSym to rewrite.go to assist with a few rules that used mergeSym in the untyped-form. Remove a few extra int32 overflow checks that no longer make sense, as adding two int8s or int16s should never overflow an int32. Passes toolstash-check -all. Original review: https://go-review.googlesource.com/c/go/+/228882 Change-Id: Ib63db4ee1687446f0f3d9f11575a40dd85cbce55 Reviewed-on: https://go-review.googlesource.com/c/go/+/229126 Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
f38fad4aaa
commit
1cca496c5e
4 changed files with 1040 additions and 1005 deletions
|
|
@ -112,6 +112,7 @@ var knownFormats = map[string]string{
|
|||
"cmd/compile/internal/ssa.Location %s": "",
|
||||
"cmd/compile/internal/ssa.Op %s": "",
|
||||
"cmd/compile/internal/ssa.Op %v": "",
|
||||
"cmd/compile/internal/ssa.Sym %v": "",
|
||||
"cmd/compile/internal/ssa.ValAndOff %s": "",
|
||||
"cmd/compile/internal/ssa.domain %v": "",
|
||||
"cmd/compile/internal/ssa.posetNode %v": "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue