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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Dec 28 11:47:25 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-linalg

Author: Maksim Levental (makslevental)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/121272.diff


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td (-3) 


``````````diff
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;

``````````

</details>


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


More information about the Mlir-commits mailing list