ci: bump to go 1.23 (#453)
Upgrade to Go 1.23. Upgrade also requires bumping `golangci-lint` to v1.62.2, and upgrading third-party test versions for some failing cases.
This commit is contained in:
committed by
GitHub
parent
3b84ecd27b
commit
b985ff5775
@@ -78,7 +78,7 @@ func TestAllocatorPriority(t *testing.T) {
|
||||
a.Add(x[i].ID())
|
||||
}
|
||||
|
||||
for i := 0; i < n; i++ {
|
||||
for i := range n {
|
||||
for j := i + 1; j < n; j++ {
|
||||
a.AddInterference(x[i].ID(), x[j].ID())
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ func CFG(fn *ir.Function) error {
|
||||
n := len(is)
|
||||
|
||||
// Populate successors.
|
||||
for i := 0; i < n; i++ {
|
||||
for i := range n {
|
||||
cur := is[i]
|
||||
var nxt *ir.Instruction
|
||||
if i+1 < n {
|
||||
|
||||
@@ -120,7 +120,7 @@ func TestAllocateRegistersBasePointerDeprioritized(t *testing.T) {
|
||||
ctx.SignatureExpr("func() uint64")
|
||||
|
||||
x := make([]reg.GPVirtual, n)
|
||||
for i := 0; i < n; i++ {
|
||||
for i := range n {
|
||||
x[i] = ctx.GP64()
|
||||
ctx.MOVQ(operand.U64(i), x[i])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user