mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
Fix build.
llvm-svn: 121872
This commit is contained in:
parent
308656b955
commit
3cfea82733
@ -339,7 +339,7 @@ bool SplitAnalysis::isBypassLoop(const MachineLoop *Loop) {
|
||||
/// loops whose parent is not a bypass loop.
|
||||
void SplitAnalysis::getBypassLoops(LoopPtrSet &BypassLoops) {
|
||||
SmallVector<MachineLoop*, 8> Todo(loops_.begin(), loops_.end());
|
||||
while (!Todo.empty) {
|
||||
while (!Todo.empty()) {
|
||||
MachineLoop *Loop = Todo.pop_back_val();
|
||||
if (!usingLoops_.count(Loop)) {
|
||||
// This is either a bypass loop or completely irrelevant.
|
||||
|
Loading…
x
Reference in New Issue
Block a user