Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI.

llvm-svn: 364068
This commit is contained in:
Simon Pilgrim 2019-06-21 16:11:18 +00:00
parent 104b12980c
commit bdea88325f
1 changed files with 1 additions and 1 deletions

View File

@ -6148,7 +6148,7 @@ static DecodeStatus DecodePowerTwoOperand(MCInst &Inst, unsigned Val,
if (Val < MinLog || Val > MaxLog)
return MCDisassembler::Fail;
Inst.addOperand(MCOperand::createImm(1 << Val));
Inst.addOperand(MCOperand::createImm(1LL << Val));
return S;
}