Skip to content

Commit 6b0769e

Browse files
committed
Remove the TODO as it's implemented
1 parent 74d035b commit 6b0769e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

llvm/include/llvm/Passes/CodeGenPassBuilder.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,6 @@ void CodeGenPassBuilder<Derived, TargetMachineT>::addTargetRegisterAllocator(
10721072
template <typename Derived, typename TargetMachineT>
10731073
void CodeGenPassBuilder<Derived, TargetMachineT>::addRegAllocPass(
10741074
AddMachinePass &addPass, bool Optimized) const {
1075-
// TODO: Parse Opt.RegAlloc to add register allocator.
10761075
// Use the specified -regalloc-npm={basic|greedy|fast|pbqp}
10771076
if (Opt.RegAlloc > RegAllocType::Default) {
10781077
switch (Opt.RegAlloc) {

llvm/tools/llc/NewPMDriver.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@
4848

4949
using namespace llvm;
5050

51-
// static cl::opt<std::string>
52-
// RegAlloc("regalloc-npm",
53-
// cl::desc("Register allocator to use for new pass manager"),
54-
// cl::Hidden, cl::init("default"));
55-
56-
// create option for RegAllocType enum
5751
static cl::opt<RegAllocType> RegAlloc(
5852
"regalloc-npm", cl::desc("Register allocator to use for new pass manager"),
5953
cl::Hidden, cl::init(RegAllocType::Unset),

0 commit comments

Comments
 (0)