Stream: t-compiler

Topic: When to re-run ThinLTO

pnkfelix (Apr 20 2020 at 14:08, on Zulip):

I cannot believe that its taken me this long to read LLVM's ThinLTO post in the necessary amount of detail to find our bugs

pnkfelix (Apr 20 2020 at 14:09, on Zulip):

They literally write you need to redo LTO when any of the following hold:

  1. The corresponding (primary) module’s bitcode changed
  2. The list of imports into or exports from the module changed
  3. The bitcode for any module being imported from has changed
  4. Any global analysis result affecting either the primary module or anything it imports has changed.
pnkfelix (Apr 20 2020 at 14:10, on Zulip):

We were using 3 since the beginning. I added the first part of 2.

pnkfelix (Apr 20 2020 at 14:10, on Zulip):

and then more recently I added the rest of 2.

Last update: May 29 2020 at 17:15UTC