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 | 5bbb78dc3ec6149abc8d69af0235545425492b3e (patch) | |
tree | 886bf0de8f2df31d7f30476a9de92b040a06b863 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | 967b04d9bc908bf09c6ac4ad6d601517eaf4a8a2 (diff) | |
download | bcm5719-llvm-5bbb78dc3ec6149abc8d69af0235545425492b3e.tar.gz bcm5719-llvm-5bbb78dc3ec6149abc8d69af0235545425492b3e.zip |
Update comments.
llvm-svn: 69919
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp index dc1f209d96f..719dd94a560 100644 --- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/llvm/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)) |