diff --git a/bolt/lib/Core/MCPlusBuilder.cpp b/bolt/lib/Core/MCPlusBuilder.cpp --- a/bolt/lib/Core/MCPlusBuilder.cpp +++ b/bolt/lib/Core/MCPlusBuilder.cpp @@ -464,17 +464,9 @@ } // Propagate smaller alias info upwards. Skip reg 0 (mapped to NoRegister) - std::queue Worklist; for (MCPhysReg I = 1, E = RegInfo->getNumRegs(); I < E; ++I) - Worklist.push(I); - while (!Worklist.empty()) { - MCPhysReg I = Worklist.front(); - Worklist.pop(); for (MCSubRegIterator SI(I, RegInfo); SI.isValid(); ++SI) SmallerAliasMap[I] |= SmallerAliasMap[*SI]; - for (MCSuperRegIterator SI(I, RegInfo); SI.isValid(); ++SI) - Worklist.push(*SI); - } LLVM_DEBUG({ dbgs() << "Dumping reg alias table:\n";