[llvm-dev] Multi-Threading Compilers

Nicolai Hähnle via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 26 03:55:57 PDT 2020


On Thu, Mar 26, 2020 at 11:53 AM Florian Hahn <florian_hahn at apple.com> wrote:
> > It also doesn't solve the problem of Functions themselves -- those are
> > also GlobalValues…
>
> I am not sure why not. Function passes should only rely on the information at the callsite & from the declaration IIRC. For functions, we coulkd add extra declarations and update the call sites. But I might be missing something.

Function passes can remove, duplicate, or just plain introduce call
sites (e.g. recognize a memset pattern), which means the use lists of
Functions can be changed during a function pass...

Cheers,
Nicolai
-- 
Lerne, wie die Welt wirklich ist,
aber vergiss niemals, wie sie sein sollte.


More information about the llvm-dev mailing list