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 5480472 commit 5e9477aCopy full SHA for 5e9477a
llvm/lib/Passes/PassBuilder.cpp
@@ -1417,13 +1417,13 @@ parseBoundsCheckingOptions(StringRef Params) {
1417
1418
Expected<RAGreedyPass::Options>
1419
parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
1420
- if (Params.empty() || Params == "all") {
+ if (Params.empty() || Params == "all")
1421
return RAGreedyPass::Options();
1422
- }
+
1423
std::optional<RegAllocFilterFunc> Filter = PB.parseRegAllocFilter(Params);
1424
- if (Filter) {
+ if (Filter)
1425
return RAGreedyPass::Options{*Filter, Params};
1426
1427
return make_error<StringError>(
1428
formatv("invalid regallocgreedy register filter '{0}' ", Params).str(),
1429
inconvertibleErrorCode());
0 commit comments