diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-01-18 21:11:19 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-01-18 21:11:19 +0000 |
commit | 99c6c29c0cd5a16983f1490d2f282f590bce7a71 (patch) | |
tree | 6cddc798dd4bad2786449f1c916aaecf163b1912 /llvm/lib/Target/Hexagon/RDFGraph.cpp | |
parent | d19d4d30d84cf6befcda72ff957bf31a7e4e7335 (diff) | |
download | bcm5719-llvm-99c6c29c0cd5a16983f1490d2f282f590bce7a71.tar.gz bcm5719-llvm-99c6c29c0cd5a16983f1490d2f282f590bce7a71.zip |
Fixed MSVC Win64 warning of implicit conversion of 32-bit shift to 64-bits.
llvm-svn: 258084
Diffstat (limited to 'llvm/lib/Target/Hexagon/RDFGraph.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/RDFGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/RDFGraph.cpp b/llvm/lib/Target/Hexagon/RDFGraph.cpp index dd43234563f..0a6a8023328 100644 --- a/llvm/lib/Target/Hexagon/RDFGraph.cpp +++ b/llvm/lib/Target/Hexagon/RDFGraph.cpp @@ -315,7 +315,7 @@ void NodeAllocator::startNewBlock() { // Check if the block index is still within the allowed range, i.e. less // than 2^N, where N is the number of bits in NodeId for the block index. // BitsPerIndex is the number of bits per node index. - assert((Blocks.size() < (1U << (8*sizeof(NodeId)-BitsPerIndex))) && + assert((Blocks.size() < ((size_t)1 << (8*sizeof(NodeId)-BitsPerIndex))) && "Out of bits for block index"); ActiveEnd = P; } |