paperchalice wrote: This PR is not so important now, the legacy codegen pipeline may change in the foreseeable future (like debug info related pass). This part can be postponed. https://github.com/llvm/llvm-project/pull/70906