aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-04-23 20:18:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-04-23 20:18:13 +0000
commit8c82047aa5a8070bb5691b02c4f7b4729ca8a3e8 (patch)
tree2e24c40793f893610b3cb8dcd311543134962ba4 /lib/CodeGen
parent554562c288748658544bd3ed85f22f400665d033 (diff)
downloadexternal_llvm-8c82047aa5a8070bb5691b02c4f7b4729ca8a3e8.zip
external_llvm-8c82047aa5a8070bb5691b02c4f7b4729ca8a3e8.tar.gz
external_llvm-8c82047aa5a8070bb5691b02c4f7b4729ca8a3e8.tar.bz2
Fix an obvious type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 60f7f40..dc1f209 100644
--- a/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -1342,7 +1342,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
return false;
}
Limit = allocatableRCRegs_[DstRC].count();
- } else if (!SrcIsPhys && !SrcIsPhys) {
+ } else if (!SrcIsPhys && !DstIsPhys) {
unsigned SrcSize = SrcRC->getSize();
unsigned DstSize = DstRC->getSize();
if (SrcSize < DstSize)