[llvm] [Uniformity] Legacy PM: Set UniformityInfoWrapperPass isCFGOnly to false (PR #148165)

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 11:57:15 PDT 2025


nhaehnle wrote:

> Sidenote: Is there a reason that `INITIALIZE_PASS_BEGIN` has the `arg`, `name`, `cfg`, and `analysis` arguments?
> 
> https://github.com/llvm/llvm-project/blob/b152611cbead7e1ee239b57624734b909cd4212b/llvm/include/llvm/PassSupport.h#L39-L40
> 
> It seems redundant.

I assume this was done for symmetry and in case the implementation of the macros would ever have to change.

I don't know if you have write access, so I took the liberty of merging it.

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


More information about the llvm-commits mailing list