Add a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-12-06 01:57:48 +00:00
parent cb86509e7a
commit 80caf9c273

View File

@ -456,6 +456,9 @@ static uint32_t encodeCompactUnwindRegistersWithFrame(unsigned SavedRegs[6],
int CURegNum = getCompactUnwindRegNum(CURegs, Reg);
if (CURegNum == -1)
return ~0U;
// Encode the 3-bit register number in order, skipping over 3-bits for each
// register.
RegEnc |= (CURegNum & 0x7) << ((5 - I) * 3);
}