[Mlir-commits] [mlir] [mlir] Add option to add comdat to all linkonce functions (PR #65270)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 4 11:45:48 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">,
----------------
joker-eph wrote:
Can we get this from the data layout?
https://github.com/llvm/llvm-project/pull/65270
More information about the Mlir-commits
mailing list