mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). No functional changes intended.
llvm-svn: 215100
This commit is contained in:
parent
64c798332f
commit
e9caa4132c
@ -1186,7 +1186,7 @@ Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType,
|
||||
auto BinaryVal = Lex.getCurBinaryIntVal();
|
||||
SmallVector<Init*, 16> Bits(BinaryVal.second);
|
||||
for (unsigned i = 0, e = BinaryVal.second; i != e; ++i)
|
||||
Bits[i] = BitInit::get(BinaryVal.first & (1 << i));
|
||||
Bits[i] = BitInit::get(BinaryVal.first & (1LL << i));
|
||||
R = BitsInit::get(Bits);
|
||||
Lex.Lex();
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user