Return matchSuccess() in RemoveNopSConvertOp if success. PiperOrigin-RevId: 285008345
diff --git a/iree/compiler/Translation/SPIRV/AdjustIntegerWidthPass.cpp b/iree/compiler/Translation/SPIRV/AdjustIntegerWidthPass.cpp index 88392e5..9397dfc 100644 --- a/iree/compiler/Translation/SPIRV/AdjustIntegerWidthPass.cpp +++ b/iree/compiler/Translation/SPIRV/AdjustIntegerWidthPass.cpp
@@ -220,7 +220,7 @@ if (t1 != t2) return matchFailure(); auto zero = spirv::ConstantOp::getZero(t1, op.getLoc(), &rewriter); rewriter.replaceOpWithNewOp<spirv::IAddOp>(op, op.operand(), zero); - return matchFailure(); + return matchSuccess(); } };