[Mlir-commits] [mlir] [mlir][shape] DCE unimplemented extra decl (PR #121275)
Maksim Levental
llvmlistbot at llvm.org
Sat Dec 28 12:57:25 PST 2024
https://github.com/makslevental created https://github.com/llvm/llvm-project/pull/121275
There are no implementations for these methods. This causes linker errors in certain build configurations.
>From 741ac92f51dc93740cb1eeafbe36d412d1325b50 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Sat, 28 Dec 2024 14:57:14 -0600
Subject: [PATCH] [mlir][shape] DCE unimplemented extra decl
There are no implementations for these methods. This causes linker errors in certain build configurations.
---
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | 5 -----
1 file changed, 5 deletions(-)
diff --git a/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td b/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
index 08a0398e74b0cb..8bccba426ab12c 100644
--- a/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
+++ b/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
@@ -321,11 +321,6 @@ def Shape_DimOp : Shape_Op<"dim",
let assemblyFormat = "$value `,` $index attr-dict `:` type($value) `,`"
"type($index) `->` type($extent)";
- let builders = [
- // Builder that allows passing a constant dimension as a simple integer.
- OpBuilder<(ins "Value":$value, "int64_t":$index)>
- ];
-
let extraClassDeclaration = [{
/// Get the `index` value as integer if it is constant.
std::optional<int64_t> getConstantIndex();
More information about the Mlir-commits
mailing list