forked from OSchip/llvm-project
[AVR] Fix a signed vs unsigned compiler warning
llvm-svn: 289349
This commit is contained in:
parent
9a63d7ade5
commit
139c0c7c37
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue