[Mlir-commits] [mlir] [mlir][linalg] DCE unimplemented extra decl (PR #121272)

Maksim Levental llvmlistbot at llvm.org
Sat Dec 28 11:46:56 PST 2024


https://github.com/makslevental created https://github.com/llvm/llvm-project/pull/121272

There are no implementations for these methods. This causes linker errors in certain build configurations.

>From 4d0ca0ac3b891f009de82b55d31abd2197389474 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Sat, 28 Dec 2024 13:46:44 -0600
Subject: [PATCH] [mlir][linalg] DCE unimplemented extra decl

There are no implementations for these methods. This causes linker errors in certain build configurations.
---
 mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
index 37eec6e07963b1..fff4048ee125e0 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
@@ -472,9 +472,6 @@ def TransposeOp : LinalgStructuredBase_Op<"transpose", [
       getRegionBuilder() {
       return regionBuilder;
     }
-
-    static void createRegion(::mlir::OpBuilder &opBuilder,
-                             ::mlir::OperationState & odsState);
   }];
 
   let hasFolder = 1;



More information about the Mlir-commits mailing list