diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-04-23 20:39:31 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-04-23 20:39:31 +0000 |
commit | aa809fbde12dda27943bafb631fbad22130814e2 (patch) | |
tree | 820958d11b9eb187e9172d1a6801e9bc79b95ab9 /lib/CodeGen | |
parent | c2cee14a8c30201696dc340be36ea0ed66783062 (diff) | |
download | external_llvm-aa809fbde12dda27943bafb631fbad22130814e2.zip external_llvm-aa809fbde12dda27943bafb631fbad22130814e2.tar.gz external_llvm-aa809fbde12dda27943bafb631fbad22130814e2.tar.bz2 |
Update comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index dc1f209..719dd94 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -1305,7 +1305,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) { // FIXME: can we handle this? return false; // This is not an insert_subreg but it looks like one. - // e.g. %reg1024:3 = MOV32rr %EAX + // e.g. %reg1024:4 = MOV32rr %EAX isInsSubReg = true; if (SrcIsPhys) { if (!CanJoinInsertSubRegToPhysReg(DstReg, SrcReg, SubIdx, RealSrcReg)) @@ -1316,7 +1316,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) { SubIdx = SrcMO->getSubReg(); if (SubIdx) { // This is not a extract_subreg but it looks like one. - // e.g. %cl = MOV16rr %reg1024:2 + // e.g. %cl = MOV16rr %reg1024:1 isExtSubReg = true; if (DstIsPhys) { if (!CanJoinExtractSubRegToPhysReg(DstReg, SrcReg, SubIdx,RealDstReg)) |