[llvm-dev] extern calls interfere with optimizations
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Sun Sep 20 09:48:50 PDT 2020
you can put various attributes (const/pure/noreturn/returns/whatever)
on the function to help optimizations know what to do with them
On Sun, Sep 20, 2020 at 9:07 AM james faure via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hi,
> I have a frontend that could insert many calls to an external threading library, my problem is that would interfere with optimizations, particularly the inliner.
>
> Is there some way to do this ?
> I've considered leaving textual markers in function names, is that a legitimate solution ?
>
> James
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
More information about the llvm-dev
mailing list