summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
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
commit967b04d9bc908bf09c6ac4ad6d601517eaf4a8a2 (patch)
tree45760b11620fea645fb83f2cf833e5eb7846bb55 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
parentd6ed5b73762d5e1af5646d9c80f3c3e164e0bb9d (diff)
downloadbcm5719-llvm-967b04d9bc908bf09c6ac4ad6d601517eaf4a8a2.tar.gz
bcm5719-llvm-967b04d9bc908bf09c6ac4ad6d601517eaf4a8a2.zip
Fix an obvious type.
llvm-svn: 69918
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 60f7f403a09..dc1f209d96f 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud