================ @@ -48,10 +48,17 @@ using namespace llvm; -static cl::opt<std::string> - RegAlloc("regalloc-npm", - cl::desc("Register allocator to use for new pass manager"), - cl::Hidden, cl::init("default")); +static cl::opt<RegAllocType> RegAlloc( ---------------- cdevadas wrote:
This change and anything related to regalloc-npm should be a separate PR as they are common to other regalloc passes. https://github.com/llvm/llvm-project/pull/120557 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits