[llvm-dev] [RFC] Introducing classes for the codegen driven by new pass manager

Matt Arsenault via llvm-dev
Wed, 15 Jul 2020 13:57:27 -0000

> On Jul 15, 2020, at 09:16, Robinson, Paul via llvm-dev <llvm-dev at
lists.llvm.org> wrote:
>
>> I'd just note that not every pass you can run with "opt"
is actually part of the optimization pipeline. There are a few important
IR-level passes that only run in the codegen pipeline, but are still nameable
with opt to run individually for testing purposes. Switching over doesn't
need to block on these passes being migrated. So I'm not sure this method of
determining progress towards switching to NPM actually makes sense.
>
> FTR, there are IR-level passes that only run in the codegen pipeline,
> and are *not* available in opt, but are available in llc; for example
> the stack protector pass.  Just throwing that out there.
> --paulr

I would consider these to be bugs. These passes tend to be poorly tested and
don’t have nice single pass tests

-Matt