Skip to content

Commit 3c34aa3

Browse files
author
Simon Camphausen
committed
Drop unnecessary check
1 parent 0aab7aa commit 3c34aa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Dialect/EmitC/Transforms/FormExpressions.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ struct FormExpressionsPass
3838
auto matchFun = [&](Operation *op) {
3939
if (op->hasTrait<OpTrait::emitc::CExpression>() &&
4040
!op->getParentOfType<emitc::ExpressionOp>() &&
41-
op->getNumResults() == 1 &&
42-
isSupportedEmitCType(op->getResult(0).getType()))
41+
op->getNumResults() == 1)
4342
createExpression(op, builder);
4443
};
4544
rootOp->walk(matchFun);

0 commit comments

Comments
 (0)