[llvm] [CodeGen] Let `PassBuilder` support machine passes (PR #76320)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 8 17:19:10 PST 2024
paperchalice wrote:
> at a high level, I think it makes sense to consolidate handling machine passes into PassBuilder
>
> however, it's unfortunate that this cements the Passes -> CodeGen dependency. it would be great if people could use PassBuilder to only run IR passes without pulling in all of CodeGen. but if `MachineFunction` is part of CodeGen, we can't really avoid that dependency
Unfortunately, some IR pass and IR pass option tests need to verify the result in machine code form, an example is `global-merge` in AArch64 backend.
https://github.com/llvm/llvm-project/pull/76320
More information about the llvm-commits
mailing list