diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-07-14 14:14:00 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-07-14 14:14:00 +0000 |
commit | a927a86c72f7715a5a118438eefa442c49c3cff7 (patch) | |
tree | a048cc568dd0a850b8c830f2b4cd3a24428a3553 /llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | |
parent | 162654566727d7565395631f0f55b4c72cd7e360 (diff) | |
download | bcm5719-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/Target/Mips/AsmParser/MipsAsmParser.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 2 |
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) |