aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-12 06:06:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-12 06:06:34 +0000
commit647c15e58ed4c3fda81041d401ca7547639958dc (patch)
treeff97442a444abe9a59a7d73f1b84599d6dddcc75 /include/llvm/CodeGen/LiveIntervalAnalysis.h
parent626da3d9aeb5e18a47a7516cbeae38c9324636e5 (diff)
Backing out fix for PR770. Need to re-apply it after live range splitting is possible
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index f01608c176..8bc6402739 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -167,11 +167,10 @@ namespace llvm {
unsigned SrcReg, unsigned DestReg,
bool isLiveIn = false);
- /// Return true if the two specified registers belong to the same or
- /// compatible register classes. The registers may be either phys or
- /// virt regs.
- bool compatibleRegisterClasses(unsigned RegA, unsigned RegB,
- bool &Swap) const;
+ /// Return true if the two specified registers belong to different
+ /// register classes. The registers may be either phys or virt regs.
+ bool differingRegisterClasses(unsigned RegA, unsigned RegB) const;
+
bool AdjustIfAllOverlappingRangesAreCopiesFrom(LiveInterval &IntA,
LiveInterval &IntB,