We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0d195 commit 55f42d6Copy full SHA for 55f42d6
llvm/lib/Passes/PassBuilder.cpp
@@ -1416,13 +1416,13 @@ parseBoundsCheckingOptions(StringRef Params) {
1416
1417
Expected<RAGreedyPass::Options>
1418
parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
1419
- if (Params.empty() || Params == "all") {
+ if (Params.empty() || Params == "all")
1420
return RAGreedyPass::Options();
1421
- }
+
1422
std::optional<RegAllocFilterFunc> Filter = PB.parseRegAllocFilter(Params);
1423
- if (Filter) {
+ if (Filter)
1424
return RAGreedyPass::Options{*Filter, Params};
1425
1426
return make_error<StringError>(
1427
formatv("invalid regallocgreedy register filter '{0}' ", Params).str(),
1428
inconvertibleErrorCode());
0 commit comments