[Mlir-commits] [mlir] [MLIR] Add missing namespace qualifier in BufferizableOpInterface.td (PR #166781)
Will Froom
llvmlistbot at llvm.org
Thu Nov 6 06:42:09 PST 2025
https://github.com/WillFroom created https://github.com/llvm/llvm-project/pull/166781
What it says on the tin, this fails to compile when inheriting from BufferizableOpInterface when impementing ops not already in the `::mlir` namespace.
>From a3649d1c3dedbf88032b56ed2d27f4910cf41418 Mon Sep 17 00:00:00 2001
From: Will Froom <willfroom at google.com>
Date: Thu, 6 Nov 2025 14:40:52 +0000
Subject: [PATCH] [MLIR] Add missing namespace qualifier in
BufferizableOpInterface.td
---
.../mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
index 246ae77f327cf..c7775f2407ebd 100644
--- a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
+++ b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
@@ -138,7 +138,7 @@ def BufferizableOpInterface : OpInterface<"BufferizableOpInterface"> {
/*retType=*/"bool",
/*methodName=*/"bufferizesToElementwiseAccess",
/*args=*/(ins "const ::mlir::bufferization::AnalysisState &":$state,
- "ArrayRef<OpOperand *>":$opOperands),
+ "::llvm::ArrayRef<::mlir::OpOperand *>":$opOperands),
/*methodBody=*/"",
/*defaultImplementation=*/[{
// It is always safe to assume that the op is not element-wise.
More information about the Mlir-commits
mailing list