[PATCH] D74512: Reenable "Always import constants" after compile time fixes

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 06:41:46 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2102ef8aad4c: Reenable "Always import constants" after compile time fixes (authored by tejohnson).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74512

Files:
  llvm/lib/IR/ModuleSummaryIndex.cpp


Index: llvm/lib/IR/ModuleSummaryIndex.cpp
===================================================================
--- llvm/lib/IR/ModuleSummaryIndex.cpp
+++ llvm/lib/IR/ModuleSummaryIndex.cpp
@@ -31,10 +31,8 @@
                                     cl::Hidden,
                                     cl::desc("Propagate attributes in index"));
 
-// FIXME: Enable again when thin link compile time regressions understood and
-// addressed
 static cl::opt<bool> ImportConstantsWithRefs(
-    "import-constants-with-refs", cl::init(false), cl::Hidden,
+    "import-constants-with-refs", cl::init(true), cl::Hidden,
     cl::desc("Import constant global variables with references"));
 
 FunctionSummary FunctionSummary::ExternalNode =


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74512.244648.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/7045fe49/attachment.bin>


More information about the llvm-commits mailing list