[Mlir-commits] [mlir] [mlir] Add option to add comdat to all linkonce functions (PR #65270)
David Truby
llvmlistbot at llvm.org
Mon Sep 4 13:30:50 PDT 2023
================
@@ -381,6 +381,9 @@ def ConvertFuncToLLVMPass : Pass<"convert-func-to-llvm", "ModuleOp"> {
Option<"useOpaquePointers", "use-opaque-pointers", "bool",
/*default=*/"true", "Generate LLVM IR using opaque pointers "
"instead of typed pointers">,
+ Option<"addComdatToLinkonceFuncs", "add-comdat-to-linkonce-funcs", "bool",
+ /*default=*/"false", "Add an any comdat selector to Linkonce "
+ "functions">,
----------------
DavidTruby wrote:
Do you mean by adding a new entry to the Data Layout regarding comdats or that it should be implied by something already there?
https://github.com/llvm/llvm-project/pull/65270
More information about the Mlir-commits
mailing list