Skip to content

Commit 741ac92

Browse files
authored
[mlir][shape] DCE unimplemented extra decl
There are no implementations for these methods. This causes linker errors in certain build configurations.
1 parent f1bc3af commit 741ac92

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,6 @@ def Shape_DimOp : Shape_Op<"dim",
321321
let assemblyFormat = "$value `,` $index attr-dict `:` type($value) `,`"
322322
"type($index) `->` type($extent)";
323323

324-
let builders = [
325-
// Builder that allows passing a constant dimension as a simple integer.
326-
OpBuilder<(ins "Value":$value, "int64_t":$index)>
327-
];
328-
329324
let extraClassDeclaration = [{
330325
/// Get the `index` value as integer if it is constant.
331326
std::optional<int64_t> getConstantIndex();

0 commit comments

Comments
 (0)