Skip to content

Commit 9616513

Browse files
committed
remove the old pass
1 parent 0af7e9e commit 9616513

File tree

7 files changed

+0
-1970
lines changed

7 files changed

+0
-1970
lines changed

mlir/include/mlir/Dialect/Arith/Transforms/Passes.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ void populateIntRangeNarrowingPatterns(RewritePatternSet &patterns,
8282
DataFlowSolver &solver,
8383
ArrayRef<unsigned> bitwidthsSupported);
8484

85-
// TODO: merge these two narrowing passes.
86-
/// Add patterns for integer bitwidth narrowing.
87-
void populateArithIntNarrowingPatterns(RewritePatternSet &patterns,
88-
const ArithIntNarrowingOptions &options);
89-
9085
//===----------------------------------------------------------------------===//
9186
// Registration
9287
//===----------------------------------------------------------------------===//

mlir/include/mlir/Dialect/Arith/Transforms/Passes.td

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,4 @@ def ArithEmulateWideInt : Pass<"arith-emulate-wide-int"> {
111111
let dependentDialects = ["vector::VectorDialect"];
112112
}
113113

114-
def ArithIntNarrowing : Pass<"arith-int-narrowing"> {
115-
let summary = "Reduce integer operation bitwidth";
116-
let description = [{
117-
Reduce bitwidths of integer types used in arith operations. This pass
118-
prefers the narrowest available integer bitwidths that are guaranteed to
119-
produce the same results.
120-
}];
121-
let dependentDialects = ["vector::VectorDialect"];
122-
let options = [
123-
ListOption<"bitwidthsSupported", "int-bitwidths-supported", "unsigned",
124-
"Integer bitwidths supported">,
125-
];
126-
}
127-
128114
#endif // MLIR_DIALECT_ARITH_TRANSFORMS_PASSES

mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ add_mlir_dialect_library(MLIRArithTransforms
66
EmulateWideInt.cpp
77
EmulateNarrowType.cpp
88
ExpandOps.cpp
9-
IntNarrowing.cpp
109
IntRangeOptimizations.cpp
1110
ReifyValueBounds.cpp
1211
UnsignedWhenEquivalent.cpp

0 commit comments

Comments
 (0)