[Mlir-commits] [mlir] [mlir][bufferization] Fix a typo in to_tensor op's summary field (PR #149082)

Chaitanya Koparkar llvmlistbot at llvm.org
Wed Jul 16 05:06:12 PDT 2025


https://github.com/ckoparkar created https://github.com/llvm/llvm-project/pull/149082

Fixes #149081

>From 1ee4bc695c4fdd9faadeea5d3886757cd6c16c2f Mon Sep 17 00:00:00 2001
From: Chaitanya Koparkar <ckoparkar at gmail.com>
Date: Wed, 16 Jul 2025 07:48:51 -0400
Subject: [PATCH] [mlir][bufferization] Fix a typo in to_tensor op's summary
 field

Fixes #149081
---
 mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
index f175b15c8770f..271b42025e0af 100644
--- a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
+++ b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
@@ -401,7 +401,7 @@ def Bufferization_ToTensorOp : Bufferization_Op<"to_tensor", [
     SameOperandsAndResultElementType,
     Bufferization_TensorAndBufferMatch<"result", "buffer">
   ]> {
-  let summary = "create a buffer-like type from a tensor-like type";
+  let summary = "create a tensor-like type from a buffer-like type";
   let description = [{
     An operation that creates a tensor from a buffer. The result value is a
     tensor-like type that must match the corresponding buffer-like operand as



More information about the Mlir-commits mailing list