mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b2646326b
commit
5b9e8d6aab
@ -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…
x
Reference in New Issue
Block a user