[AVR] Fix a signed vs unsigned compiler warning

llvm-svn: 289349
This commit is contained in:
Dylan McKay 2016-12-11 00:24:13 +00:00
parent 9a63d7ade5
commit 139c0c7c37
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ bool AVRExpandPseudo::expand<AVR::LDDWRdPtrQ>(Block &MBB, BlockIt MBBI) {
BitVector Available = RS.getRegsAvailable(&AVR::GPR8RegClass);
Available &= Candidates;
unsigned TmpReg = Available.find_first();
signed TmpReg = Available.find_first();
assert(TmpReg != -1 && "ran out of registers");
MIBLO = buildMI(MBB, MBBI, OpLo)