mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 15:45:26 +00:00
Fix thinko.
llvm-svn: 34528
This commit is contained in:
parent
06b8983669
commit
e0c0b3bea6
@ -26,7 +26,8 @@ namespace llvm {
|
||||
class LoopCompare {
|
||||
public:
|
||||
bool operator()( Loop *L1, Loop *L2) const {
|
||||
return L1->getLoopDepth() > L2->getLoopDepth();
|
||||
// Loops with highest depth has the highest priority.
|
||||
return L1->getLoopDepth() < L2->getLoopDepth();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user