This allows MIR passes to emit optimization remarks with the same level
of functionality that is available to IR passes.
We need a MIR-specific analysis pass because this pass uses MachineBFI while ORE uses BFI.
It also hooks up the greedy register allocator to report spills. This
allows for interesting use cases like increasing
interleaving on a loop until spilling of registers is observed.
I still need to experiment whether reporting every spill scales but this
demonstrates for now that the functionality works from llc
using -pass-remarks*=<pass>.
Needs three slashes.