Skip to content

Commit 0c23163

Browse files
committed
Revert "[mlir] Add res() method to linalg::ContractionOpInterface (#76539)"
This reverts commit 53edf12. Reason: Broke the sanitizer buildbots with a memory leak. More information available on 53edf12
1 parent 2bd6642 commit 0c23163

File tree

4 files changed

+0
-60
lines changed

4 files changed

+0
-60
lines changed

mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ def LinalgContractionOpInterface : OpInterface<"ContractionOpInterface"> {
5454
return $_op.getOperation()->getOperand(1);
5555
}]>,
5656
InterfaceMethod<
57-
/*desc=*/"Returns the result value.",
58-
/*retTy=*/"OpResult",
59-
/*methodName=*/"res",
60-
/*args=*/(ins),
61-
/*methodBody=*/[{
62-
return $_op.getOperation()->getResult(0);
63-
}]>,
64-
InterfaceMethod<
6557
/*desc=*/[{
6658
Returns whether the given op has indexing maps that correspond to a
6759
row-major matmul operation.

mlir/unittests/Dialect/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ target_link_libraries(MLIRDialectTests
88

99
add_subdirectory(ArmSME)
1010
add_subdirectory(Index)
11-
add_subdirectory(Linalg)
1211
add_subdirectory(LLVMIR)
1312
add_subdirectory(MemRef)
1413
add_subdirectory(SCF)

mlir/unittests/Dialect/Linalg/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

mlir/unittests/Dialect/Linalg/LinalgInterfacesTest.cpp

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)