projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silencing two MSVC warnings; 'argument' : truncation from 'unsigned int' to 'int16_t...
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
AsmParser
/
MipsAsmParser.cpp
diff --git
a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 6ee1472b06ca9a7a6eb4fbb8ba61268355e71896..5107d2ae58c38eab9f32391d7f7b2b46c6b597b5 100644
(file)
--- 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 <
unsigned
ShiftAmount>
+template <
int16_t
ShiftAmount>
void createLShiftOri(MCOperand Operand, unsigned RegNo, SMLoc IDLoc,
SmallVectorImpl<MCInst> &Instructions) {
if (ShiftAmount >= 32)