diff options
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp b/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp index bb952e27dc9..36f24a2b4ae 100644 --- a/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp +++ b/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp @@ -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) |