diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp --- a/llvm/lib/IR/ModuleSummaryIndex.cpp +++ b/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 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 =