[llvm-branch-commits] [llvm] [RegAlloc][NewPM] Plug Greedy RA in codegen pipeline (PR #120557)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 19 19:48:05 PST 2024


================
@@ -1315,6 +1315,20 @@ parseBoundsCheckingOptions(StringRef Params) {
   return Mode;
 }
 
+Expected<RAGreedyPass::Options>
+parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
+  if (Params.empty() || Params == "all") {
+    return RAGreedyPass::Options();
+  }
----------------
arsenm wrote:

```suggestion
  if (Params.empty() || Params == "all")
    return RAGreedyPass::Options();
```

https://github.com/llvm/llvm-project/pull/120557


More information about the llvm-branch-commits mailing list