[llvm-dev] New Pass Manager and CGSSCPassManager

David Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 4 09:47:17 PST 2020


David Greene <dag at hpe.com> writes:

>> It doesn't really make sense to run a module pass multiple times because of
>> the number of SCCs/functions. A module pass should just do everything it
>> needs to do once and be done.
>
> Got it, that makes perfect sense.
>
> But I'm left with an even worse problem than I had before.  :(
>
> I may have to end up disabling various optimizations which would be
> unfortunate.

Just a quick update:  I was able to fix the issue by splitting my pass,
one ModulePass that runs before the SCC passes and one after.  It works
quite well!

Thank you for your help!

                  -Davids


More information about the llvm-dev mailing list