diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-04-23 20:18:13 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-04-23 20:18:13 +0000 |
commit | 967b04d9bc908bf09c6ac4ad6d601517eaf4a8a2 (patch) | |
tree | 45760b11620fea645fb83f2cf833e5eb7846bb55 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | d6ed5b73762d5e1af5646d9c80f3c3e164e0bb9d (diff) | |
download | bcm5719-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.cpp | 2 |
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) |