[PATCH] D69327: [Clang][ThinLTO] Add a cache for compile phase output.

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 15:12:53 PDT 2019


tejohnson added a comment.

In D69327#1719295 <https://reviews.llvm.org/D69327#1719295>, @tejohnson wrote:

> I was just typing up a response similar to @steven_wu 's response... I don't think clang should be in the business of caching the outputs of a prior clang invocation, the build system should and usually does avoid re-executing if the inputs have not changed. Note that this is very different from the caching of objects LTO is doing - because those are not otherwise emitted at all, the cache has to be built in.


And also because even if some of the inputs of the link change, not all backend threads necessarily need to be re-executed and not all native (intermediate) objects will change.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69327/new/

https://reviews.llvm.org/D69327





More information about the llvm-commits mailing list