@@ -610,7 +610,7 @@ Error CodeGenPassBuilder<Derived, TargetMachineT>::buildPipeline(
610610
611611 if (!Opt.RegAllocPipeline .empty ())
612612 return make_error<StringError>(
613- " Extra passes in regalloc pipeline: " + Opt.RegAllocPipeline ,
613+ " extra passes in regalloc pipeline: " + Opt.RegAllocPipeline ,
614614 std::make_error_code (std::errc::invalid_argument));
615615
616616 return verifyStartStop (*StartStopInfo);
@@ -1125,8 +1125,7 @@ bool CodeGenPassBuilder<Derived, TargetMachineT>::addRegAllocPassFromOpt(
11251125 StringRef PassOpt;
11261126 std::tie (PassOpt, Opt.RegAllocPipeline ) = Opt.RegAllocPipeline .split (' ,' );
11271127 // Reuse the registered parser to parse the pass name.
1128- #define MACHINE_FUNCTION_PASS_WITH_PARAMS (NAME, CLASS, CREATE_PASS, PARSER, \
1129- PARAMS) \
1128+ #define RA_PASS_WITH_PARAMS (NAME, CLASS, CREATE_PASS, PARSER, PARAMS ) \
11301129 if (PB.checkParametrizedPassName (PassOpt, NAME)) { \
11311130 auto Params = PB.parsePassParameters (PARSER, PassOpt, NAME, \
11321131 const_cast <const PassBuilder &>(PB)); \
@@ -1136,17 +1135,17 @@ bool CodeGenPassBuilder<Derived, TargetMachineT>::addRegAllocPassFromOpt(
11361135 } \
11371136 if (!MatchPassTo.empty ()) { \
11381137 if (MatchPassTo != CLASS) \
1139- report_fatal_error (" Expected " + \
1138+ report_fatal_error (" expected " + \
11401139 PIC->getPassNameForClassName (MatchPassTo) + \
1141- " in option -regalloc-npm" , \
1140+ " in option -- regalloc-npm" , \
11421141 false ); \
11431142 } \
11441143 addPass (CREATE_PASS (Params.get ())); \
11451144 return true ; \
11461145 }
11471146#include " llvm/Passes/MachinePassRegistry.def"
11481147 if (PassOpt != " default" ) {
1149- report_fatal_error (" Unknown register allocator pass: " + PassOpt, false );
1148+ report_fatal_error (" unknown register allocator pass: " + PassOpt, false );
11501149 }
11511150 }
11521151 // If user did not give a specific pass, use the default provided.
0 commit comments