From: Aaron Ballman Date: Tue, 14 Jul 2015 14:14:00 +0000 (+0000) Subject: Silencing two MSVC warnings; 'argument' : truncation from 'unsigned int' to 'int16_t... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bdd9e2ac3b594bfe99012eb801e6b659abd6e60a;p=oota-llvm.git Silencing two MSVC warnings; 'argument' : truncation from 'unsigned int' to 'int16_t' and truncation of constant value. NFC intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242145 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 6ee1472b06c..5107d2ae58c 100644 --- a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -1767,7 +1767,7 @@ void emitRRI(unsigned Opcode, unsigned DstReg, unsigned SrcReg, int16_t Imm, Instructions); } -template +template void createLShiftOri(MCOperand Operand, unsigned RegNo, SMLoc IDLoc, SmallVectorImpl &Instructions) { if (ShiftAmount >= 32)