[llvm-branch-commits] [llvm] [SystemZ] Port LDCLeanup to NewPM (PR #240533)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 10 06:59:01 PST 2026


boomanaiden154 wrote:

> However, I'm wondering why this doesn't use an Impl class like some of the other conversions. Wouldn't we prefer to move everything back into the (new) pass class once the legacy passes go away?

There's not enough state to really justify an Impl class here. Moving everything back into a pass instance also increase the likelihood that the pass is now propagating state across functions, which it shouldn't be doing.

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


More information about the llvm-branch-commits mailing list