Fix thinko.

llvm-svn: 34528
This commit is contained in:
Devang Patel 2007-02-23 18:05:55 +00:00
parent d3ccdfd04d
commit b1fcb9ae15
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
};