go/ir: introduce BlockMap type
BlockMap is a trivial, generic name for a slice. It can be used to make
it more apparent that a slice is meant to be indexed by block indices.
@@ -145,3 +145,6 @@ func assert(x bool) {
panic("failed assertion")
}
}
+
+// BlockMap is a mapping from basic blocks (identified by their indices) to values.
+type BlockMap[T any] []T
