paperchalice wrote: Print MIR only now, add new option`--passes` to run machine function passes. `regalloc` option is not so trivial, it may interact with backend e.g. AMDGPU, will refactor it in future. https://github.com/llvm/llvm-project/pull/70922