@@ -120,7 +120,7 @@ verifyTypesAlongAllEdges(Operation *op, RegionBranchPoint sourcePoint,
120120
121121 TypeRange succInputsTypes = succ.getSuccessorInputs ().getTypes ();
122122 if (sourceTypes->size () != succInputsTypes.size ()) {
123- InFlightDiagnostic diag = op->emitOpError (" region control flow edge " );
123+ InFlightDiagnostic diag = op->emitOpError (" region control flow edge " );
124124 return printRegionEdgeName (diag, sourcePoint, succ)
125125 << " : source has " << sourceTypes->size ()
126126 << " operands, but target successor needs "
@@ -132,7 +132,7 @@ verifyTypesAlongAllEdges(Operation *op, RegionBranchPoint sourcePoint,
132132 Type sourceType = std::get<0 >(typesIdx.value ());
133133 Type inputType = std::get<1 >(typesIdx.value ());
134134 if (!regionInterface.areTypesCompatible (sourceType, inputType)) {
135- InFlightDiagnostic diag = op->emitOpError (" along control flow edge " );
135+ InFlightDiagnostic diag = op->emitOpError (" along control flow edge " );
136136 return printRegionEdgeName (diag, sourcePoint, succ)
137137 << " : source type #" << typesIdx.index () << " " << sourceType
138138 << " should match input type #" << typesIdx.index () << " "
@@ -202,7 +202,7 @@ LogicalResult detail::verifyTypesAlongControlFlowEdges(Operation *op) {
202202 // types match with the first one.
203203 if (!areTypesCompatible (regionReturnOperands->getTypes (),
204204 terminatorOperands.getTypes ())) {
205- InFlightDiagnostic diag = op->emitOpError (" along control flow edge" );
205+ InFlightDiagnostic diag = op->emitOpError (" along control flow edge" );
206206 return printRegionEdgeName (diag, region, point)
207207 << " operands mismatch between return-like terminators" ;
208208 }
0 commit comments