[clang] [llvm] [CGData][ThinLTO][NFC] Prep for two-codegen rounds (PR #90934)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 2 22:10:24 PDT 2024


================
@@ -586,7 +586,9 @@ Error lto::thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream,
   Mod.setPartialSampleProfileRatio(CombinedIndex);
 
   LLVM_DEBUG(dbgs() << "Running ThinLTO\n");
-  if (Conf.CodeGenOnly) {
+  if (CodeGenOnly) {
----------------
teresajohnson wrote:

Can you add a comment that this value may be different than the one in the provided Config.

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


More information about the cfe-commits mailing list