summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-07-14 14:14:00 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-07-14 14:14:00 +0000
commita927a86c72f7715a5a118438eefa442c49c3cff7 (patch)
treea048cc568dd0a850b8c830f2b4cd3a24428a3553 /llvm/lib
parent162654566727d7565395631f0f55b4c72cd7e360 (diff)
downloadbcm5719-llvm-a927a86c72f7715a5a118438eefa442c49c3cff7.tar.gz
bcm5719-llvm-a927a86c72f7715a5a118438eefa442c49c3cff7.zip
Silencing two MSVC warnings; 'argument' : truncation from 'unsigned int' to 'int16_t' and truncation of constant value. NFC intended.
llvm-svn: 242145
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 6ee1472b06c..5107d2ae58c 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 <unsigned ShiftAmount>
+template <int16_t ShiftAmount>
void createLShiftOri(MCOperand Operand, unsigned RegNo, SMLoc IDLoc,
SmallVectorImpl<MCInst> &Instructions) {
if (ShiftAmount >= 32)
OpenPOWER on IntegriCloud