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

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 15:03:13 PDT 2022


maksfb requested changes to this revision.
maksfb added inline comments.
This revision now requires changes to proceed.


================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:1438
+        opts::Lite = false;
+        errs() << "\nBOLT-WARNING: disabling lite mode (-lite) when split "
+               << "functions are present.\n";
----------------
Check if the lite mode is enabled before issuing the warning.


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