[lld] [llvm] [llvm] Refactor `isLargeGlobalValue` from `TargetMachine` to `GlobalValue` (PR #230666)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 13:49:49 PDT 2026


================
@@ -679,11 +679,23 @@ static int compileModule(char **argv, SmallVectorImpl<PassPlugin> &PluginList,
 
   M->setTargetTriple(TheTriple);
 
-  std::optional<CodeModel::Model> CM_IR = M->getCodeModel();
-  if (!CM && CM_IR)
+  if (CM)
----------------
aeubanks wrote:

unrelated change?

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


More information about the llvm-commits mailing list