[Mlir-commits] [mlir] [mlir] Fix copy paste typo in convertFromAttribute (PR #192484)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Apr 16 09:24:14 PDT 2026
https://github.com/janssen-v updated https://github.com/llvm/llvm-project/pull/192484
>From 2750dc34d1c6d2ebeaa19fbf0a0a08bfbfa849d5 Mon Sep 17 00:00:00 2001
From: Vincentius Janssen <janssen.vincentius at gmail.com>
Date: Thu, 16 Apr 2026 16:04:38 +0000
Subject: [PATCH] [mlir] Fix copy paste typo in convertFromAttribute
---
mlir/lib/IR/ODSSupport.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/lib/IR/ODSSupport.cpp b/mlir/lib/IR/ODSSupport.cpp
index f2665d24efda6..95d8fff9f23c7 100644
--- a/mlir/lib/IR/ODSSupport.cpp
+++ b/mlir/lib/IR/ODSSupport.cpp
@@ -103,7 +103,7 @@ mlir::convertFromAttribute(bool &storage, Attribute attr,
auto valueAttr = dyn_cast<BoolAttr>(attr);
if (!valueAttr)
return emitError()
- << "expected string property to come from string attribute";
+ << "expected BoolAttr for key `value`";
storage = valueAttr.getValue();
return success();
}
More information about the Mlir-commits
mailing list