@@ -120,7 +120,7 @@ verifyTypesAlongAllEdges(Operation *op, RegionBranchPoint sourcePoint,
120
120
121
121
TypeRange succInputsTypes = succ.getSuccessorInputs ().getTypes ();
122
122
if (sourceTypes->size () != succInputsTypes.size ()) {
123
- InFlightDiagnostic diag = op->emitOpError (" region control flow edge " );
123
+ InFlightDiagnostic diag = op->emitOpError (" region control flow edge " );
124
124
return printRegionEdgeName (diag, sourcePoint, succ)
125
125
<< " : source has " << sourceTypes->size ()
126
126
<< " operands, but target successor needs "
@@ -132,7 +132,7 @@ verifyTypesAlongAllEdges(Operation *op, RegionBranchPoint sourcePoint,
132
132
Type sourceType = std::get<0 >(typesIdx.value ());
133
133
Type inputType = std::get<1 >(typesIdx.value ());
134
134
if (!regionInterface.areTypesCompatible (sourceType, inputType)) {
135
- InFlightDiagnostic diag = op->emitOpError (" along control flow edge " );
135
+ InFlightDiagnostic diag = op->emitOpError (" along control flow edge " );
136
136
return printRegionEdgeName (diag, sourcePoint, succ)
137
137
<< " : source type #" << typesIdx.index () << " " << sourceType
138
138
<< " should match input type #" << typesIdx.index () << " "
@@ -202,7 +202,7 @@ LogicalResult detail::verifyTypesAlongControlFlowEdges(Operation *op) {
202
202
// types match with the first one.
203
203
if (!areTypesCompatible (regionReturnOperands->getTypes (),
204
204
terminatorOperands.getTypes ())) {
205
- InFlightDiagnostic diag = op->emitOpError (" along control flow edge" );
205
+ InFlightDiagnostic diag = op->emitOpError (" along control flow edge" );
206
206
return printRegionEdgeName (diag, region, point)
207
207
<< " operands mismatch between return-like terminators" ;
208
208
}
0 commit comments