Skip to content

Commit 3704607

Browse files
committed
[mlir][emitc] Delete unused function 'isSwitchOperandType'
1 parent 67c45e5 commit 3704607

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mlir/lib/Dialect/EmitC/IR/EmitC.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ bool mlir::emitc::isPointerWideType(Type type) {
131131
type);
132132
}
133133

134-
bool mlir::emitc::isSwitchOperandType(Type type) {
135-
return isa<emitc::OpaqueType, IndexType>(type) ||
136-
isSupportedIntegerType(type);
137-
}
138-
139134
/// Check that the type of the initial value is compatible with the operations
140135
/// result type.
141136
static LogicalResult verifyInitializationAttribute(Operation *op,

0 commit comments

Comments
 (0)