Silencing two MSVC warnings; 'argument' : truncation from 'unsigned int' to 'int16_t' and truncation of constant value. NFC intended.

llvm-svn: 242145
This commit is contained in:
Aaron Ballman 2015-07-14 14:14:00 +00:00
parent 1626545667
commit a927a86c72
1 changed files with 1 additions and 1 deletions

View File

@ -1767,7 +1767,7 @@ void emitRRI(unsigned Opcode, unsigned DstReg, unsigned SrcReg, int16_t Imm,
Instructions);
}
template <unsigned ShiftAmount>
template <int16_t ShiftAmount>
void createLShiftOri(MCOperand Operand, unsigned RegNo, SMLoc IDLoc,
SmallVectorImpl<MCInst> &Instructions) {
if (ShiftAmount >= 32)