[Mlir-commits] [mlir] [MLIR][LLVM] Support dso_local_equivalent constants (PR #132131)
Tobias Gysi
llvmlistbot at llvm.org
Fri Mar 21 13:03:58 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:
Yeah I believe tablegen probably expects that the members or the attribute are defined with let parameters as you did.
https://github.com/llvm/llvm-project/pull/132131
More information about the Mlir-commits
mailing list