[llvm] [CodeGen][NewPM] Handle `--regalloc-npm` option (PR #94748)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 11:10:36 PDT 2024


================
@@ -409,13 +409,33 @@ class RequireAllMachineFunctionPropertiesPass
 
 } // namespace
 
+static void defaultRegAllocBuilder(TargetMachine *TM,
+                                   StringMap<MachineFunctionPassManager> &M) {
+  if (!TM)
----------------
aeubanks wrote:

should always be non-null here

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


More information about the llvm-commits mailing list