[Mlir-commits] [mlir] [MLIR][LLVM] Support dso_local_equivalent constants (PR #132131)
Tobias Gysi
llvmlistbot at llvm.org
Thu Mar 20 23:59:59 PDT 2025
================
@@ -1575,6 +1575,44 @@ def LLVM_AliasOp : LLVM_Op<"mlir.alias",
let hasRegionVerifier = 1;
}
+def LLVM_DSOLocalEquivalentOp : LLVM_Op<"dso_local_equivalent",
+ [Pure, ConstantLike, DeclareOpInterfaceMethods<SymbolUserOpInterface>]> {
+ let arguments = (ins FlatSymbolRefAttr:$function_name);
----------------
gysit wrote:
If we use inheritance using the new attribute here could make sense. Or was it printing strangely?
https://github.com/llvm/llvm-project/pull/132131
More information about the Mlir-commits
mailing list