[llvm-dev] Visitation of declarations in FunctionAtrs with new and old pass managers?

Arthur Eubanks via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 13 00:19:54 PDT 2021


>
> The new PM CGSCC infra assumes that only calls to known library functions
> can be introduced out of thin air. So we shouldn't be introducing arbitrary
> declarations in a CGSCC pipeline (just intrinsics and library functions I
> believe).
> I suppose it's possible to introduce a call to an arbitrary function in
> some module pass, but that seems out of the ordinary.
>
> How does this connect?  Everything you said parses; I just don't see how
> this is connected to the topic of this thread.
>
Sorry, my point was that having an early module pass to infer attributes on
existing declarations should be sufficient, we shouldn't have to worry
about doing that again later on in the pipeline.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210413/9033cdb3/attachment.html>


More information about the llvm-dev mailing list