[llvm-dev] New pass manager for optimization pipeline status and questions

Jay Foad via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 23 02:41:28 PDT 2020


On Thu, 23 Jul 2020 at 00:05, Chen, Yuanfang via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> > But a large portion of the remaining failures are because codegen-only passes haven't been ported to NPM yet. That's fine for the optimization pipeline NPM transition since it doesn't affect the optimization pipeline, but it does present an issue with the approach of the -enable-new-pm flag (which would by default become true alongside the NPM transition). Lots of tests are testing codegen-specific passes via opt (e.g. `opt -amdgpu-lower-intrinsics`) and they can't use NPM (yet).
>
> I think the ideal way is just to port these to NPM. The problem is if the opt pipeline NPM switch is blocked on this, we’re forcing the targets to start porting which I’m not sure if target owners want to do.

I can't speak for other targets but I'd love to get AMDGPU passes
converted to the NPM. Is there a howto somewhere?

Thanks,
Jay.


More information about the llvm-dev mailing list