OSDN Git Service

Fix an obvious type.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 23 Apr 2009 20:18:13 +0000 (20:18 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 23 Apr 2009 20:18:13 +0000 (20:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69918 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SimpleRegisterCoalescing.cpp

index 60f7f40..dc1f209 100644 (file)
@@ -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)