[llvm] [DTLTO] [LLVM] Initial DTLTO cache implementation (PR #156433)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 08:36:19 PST 2025


================

----------------
teresajohnson wrote:

Change this to be like https://github.com/llvm/llvm-project/blob/bcb3d2f5122276ed9969fe2b2ef4428652800377/llvm/lib/LTO/LTO.cpp#L1526 (i.e. reverse the conditions to be (!Cache.isValid() || ! ....), and return success early if so. Then the below code can be unnested from the if.

https://github.com/llvm/llvm-project/pull/156433


More information about the llvm-commits mailing list