[llvm] [NewPM][CodeGen] add TargetPassConfig like API (PR #70906)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 11 03:30:28 PST 2023
paperchalice wrote:
It might be more reasonable for me to add `MachineVerifierPass` in `CodeGenBuilder`, due to the flat design of `MachineFunctionPassManager`.
BTW, I don't know why verifier runs before any machine pass and the banner is `After ...` in code base. It is also not friendly to module pass.
https://github.com/llvm/llvm-project/blob/4effdc47947b9260a1540ee7d8b699b077cbedb5/llvm/lib/CodeGen/MachinePassManager.cpp#L43-L49
https://github.com/llvm/llvm-project/pull/70906
More information about the llvm-commits
mailing list