Instead of searching for a live interval pair, search for a location. This gives

a very modest speedup of .3 seconds compiling 176.gcc (out of 20s).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15136 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-07-23 18:13:24 +00:00
parent a3b8b5c0e0
commit ebd7e6c54d
3 changed files with 14 additions and 6 deletions
+5
View File
@@ -47,6 +47,11 @@ namespace llvm {
};
std::ostream& operator<<(std::ostream& os, const LiveRange &LR);
inline bool operator<(unsigned V, const LiveRange &LR) {
return V < LR.start;
}
/// LiveInterval - This class represents some number of live ranges for a
/// register or value. This class also contains a bit of register allocator
/// state.