forked from OSchip/llvm-project
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:
parent
1626545667
commit
a927a86c72
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue