From a927a86c72f7715a5a118438eefa442c49c3cff7 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 14 Jul 2015 14:14:00 +0000 Subject: [PATCH] Silencing two MSVC warnings; 'argument' : truncation from 'unsigned int' to 'int16_t' and truncation of constant value. NFC intended. llvm-svn: 242145 --- llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 6ee1472..5107d2a 100644 --- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/llvm/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) -- 2.7.4