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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to