benlangmuir added a comment. In D129884#3677435 <https://reviews.llvm.org/D129884#3677435>, @jansvoboda11 wrote:
> Would it make sense for this to replace the existing strict context hash > implementation? It's not clear to me whether this would be a good tradeoff or not: the explicit build canonicalizes its invocation, but the implicit build does not do so to the same extent. Some of that could be improved with some effort, but for example the optimizations we use for search path pruning in the explicit build cannot be done up-front in the implicit build, since we don't yet know which paths are relevant. I think we should consider this separately. One necessary difference is that after scanning dependencies we want to hash the module dependencies (name + context hash), but we cannot do that in the implicit build since the dependencies are not discovered yet. The rest of the invocation hashing implementation could be shared though, if we decided it is the right approach. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129884/new/ https://reviews.llvm.org/D129884 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits