[Mlir-commits] [mlir] [MLIR][LLVM] Share LLVM metadata attribute translation (PR #203016)

Andy Kaylor llvmlistbot at llvm.org
Wed Jun 10 09:18:36 PDT 2026


================
@@ -2521,7 +2521,8 @@ def LLVM_MetadataAsValueOp
 
     * `#llvm.md_string<"...">` -> `llvm::MDString`.
     * `#llvm.md_const<...>` -> `llvm::ConstantAsMetadata`.
-    * `#llvm.md_func<@symbol>` -> `llvm::ValueAsMetadata` of a function.
+    * `#llvm.md_func<@symbol>` -> `llvm::ValueAsMetadata` of a function or
----------------
andykaylor wrote:

If this can be a global value (and I think you're right that it can be, though in theory it can be any value), it should be renamed. Perhaps, `llvm.md_value`?

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


More information about the Mlir-commits mailing list