OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc2e1a
)
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted...
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 7 Aug 2014 12:07:33 +0000
(12:07 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 7 Aug 2014 12:07:33 +0000
(12:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215100
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/TGParser.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/TGParser.cpp
b/lib/TableGen/TGParser.cpp
index
072e3ef
..
66c6b85
100644
(file)
--- a/
lib/TableGen/TGParser.cpp
+++ b/
lib/TableGen/TGParser.cpp
@@
-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 & (1
LL
<< i));
R = BitsInit::get(Bits);
Lex.Lex();
break;