[llvm] [Passes] Move machine function pass registries to PassRegistry.def (PR #203659)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 13 01:36:26 PDT 2026


paperchalice wrote:

> What exactly is the benefit of doing it this way?
> 
> I guess maybe we don't need to duplicate module passes?

IR pass registries are redundant in MachinePassRegistry.def

> This seems like a net negative for maintainability/readability.

Will restore machine function part.

https://github.com/llvm/llvm-project/pull/203659


More information about the llvm-commits mailing list