[clang] [lld] [llvm] [ThinLTO] Reduce the number of renaming due to promotions (PR #178587)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 27 08:13:15 PST 2026


================
@@ -28,6 +28,14 @@ static cl::opt<bool> UseSourceFilenameForPromotedLocals(
              "This requires that the source filename has a unique name / "
              "path to avoid name collisions."));
 
+/// FIXME: The current optimization that avoids unnecessary renaming of
+/// promoted locals is incompatible with distributed ThinLTO and therefore
+/// must be disabled by default.
----------------
yonghong-song wrote:

Fixed without force push.

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


More information about the cfe-commits mailing list