[PATCH] D131283: [BOLT] Disable -lite when split function is present

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 14:14:40 PDT 2022


Amir added inline comments.


================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:1436
       }
+      errs() << "BOLT-WARNING: disable lite mode when split function is "
+             << "present.\n";
----------------
Let's move it under !PrintedWarning to only print it once.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131283



More information about the llvm-commits mailing list