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 | c2cee14a8c30201696dc340be36ea0ed66783062 (patch) | |
tree | 2e24c40793f893610b3cb8dcd311543134962ba4 | |
parent | e41bc94bb109e7f4bc1562a41d2d9ae7e97bc734 (diff) | |
download | external_llvm-c2cee14a8c30201696dc340be36ea0ed66783062.zip external_llvm-c2cee14a8c30201696dc340be36ea0ed66783062.tar.gz external_llvm-c2cee14a8c30201696dc340be36ea0ed66783062.tar.bz2 |
Fix an obvious type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69918 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.cpp | 2 |
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) |