mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Explicitly cast narrowing conversions inside {}s that will become errors in
C++0x. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2778,7 +2778,8 @@ void SelectionDAGBuilder::visitShuffleVector(const User &I) {
|
||||
// Analyze the access pattern of the vector to see if we can extract
|
||||
// two subvectors and do the shuffle. The analysis is done by calculating
|
||||
// the range of elements the mask access on both vectors.
|
||||
int MinRange[2] = { SrcNumElts+1, SrcNumElts+1};
|
||||
int MinRange[2] = { static_cast<int>(SrcNumElts+1),
|
||||
static_cast<int>(SrcNumElts+1)};
|
||||
int MaxRange[2] = {-1, -1};
|
||||
|
||||
for (unsigned i = 0; i != MaskNumElts; ++i) {
|
||||
|
Reference in New Issue
Block a user