cg: Remove GHC.Cmm.DataFlow.Collections
Removing DataFlow.Collections and using Word64Map/Set
instead. This achieves a few things:
- removes a lingering todo in the compiler
- removes a bunch of unnecessary polymorphism
- removes a module. The Collections module came from removing the Hoopl dependency and has stayed with us since then.
Todos:
-
CI passes -
make projections:Edit: its not worth coupling into a sister component such asLabelSet -> Word64Map/Set
and see if I can remove some lingering imports ofDataflow.Label
. There were a handful of modules that only importLabel
to deconstruct aLabelMap
.Dataflow.Graph
. -
run a single full CI before marking as ready; I don't want to mess up Wasm.