[Mlir-commits] [mlir] 8487d24 - [mlir][shape] DCE unimplemented extra decl (#121275)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Dec 29 09:13:49 PST 2024
Author: Maksim Levental
Date: 2024-12-29T12:13:46-05:00
New Revision: 8487d2460e8cf80c7c3b240cf46969eeeb4ed18d
URL: https://github.com/llvm/llvm-project/commit/8487d2460e8cf80c7c3b240cf46969eeeb4ed18d
DIFF: https://github.com/llvm/llvm-project/commit/8487d2460e8cf80c7c3b240cf46969eeeb4ed18d.diff
LOG: [mlir][shape] DCE unimplemented extra decl (#121275)
Added:
Modified:
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
Removed:
################################################################################
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