@@ -60,16 +60,16 @@ struct SelectPass final : public impl::SelectPassBase<SelectPass> {
6060 return failure ();
6161
6262 if (selectCondName.empty ())
63- return errorHandler (" Invalid select-cond-name" );
63+ return errorHandler (" invalid select-cond-name" );
6464
6565 if (selectValues.size () != selectPipelines.size ())
66- return errorHandler (" Values and pipelines size mismatch" );
66+ return errorHandler (" values and pipelines size mismatch" );
6767
6868 selectPassManagers.resize (selectPipelines.size ());
6969
7070 for (auto &&[i, pipeline] : llvm::enumerate (selectPipelines)) {
7171 if (failed (parsePassPipeline (pipeline, selectPassManagers[i])))
72- return errorHandler (" Failed to parse pipeline" );
72+ return errorHandler (" failed to parse pipeline" );
7373 }
7474
7575 return success ();
@@ -94,7 +94,7 @@ struct SelectPass final : public impl::SelectPassBase<SelectPass> {
9494 Operation *op = getOperation ();
9595 Attribute condAttrValue = op->getAttr (condAttrName);
9696 if (!condAttrValue) {
97- op->emitError (" Condition attribute not present: " ) << condAttrName;
97+ op->emitError (" condition attribute not present: " ) << condAttrName;
9898 return signalPassFailure ();
9999 }
100100
@@ -109,7 +109,7 @@ struct SelectPass final : public impl::SelectPassBase<SelectPass> {
109109 return ;
110110 }
111111
112- op->emitError (" Unhandled condition value: " ) << condAttrValue;
112+ op->emitError (" unhandled condition value: " ) << condAttrValue;
113113 return signalPassFailure ();
114114 }
115115
0 commit comments