Increase the size of these SmallVectors in X86ISelLowering.cpp.
In a Clang bootstrap, their sizes were always 12, 16 and 16, respectively. llvm-svn: 215336
This commit is contained in:
parent
01416e66b6
commit
21b20cb11a
|
@ -2495,7 +2495,7 @@ X86TargetLowering::LowerFormalArguments(SDValue Chain,
|
|||
|
||||
if (TotalNumXMMRegs != 0 && NumXMMRegs != TotalNumXMMRegs) {
|
||||
// Now store the XMM (fp + vector) parameter registers.
|
||||
SmallVector<SDValue, 11> SaveXMMOps;
|
||||
SmallVector<SDValue, 12> SaveXMMOps;
|
||||
SaveXMMOps.push_back(Chain);
|
||||
|
||||
unsigned AL = MF.addLiveIn(X86::AL, &X86::GR8RegClass);
|
||||
|
@ -13330,7 +13330,7 @@ static SDValue LowerExtendedLoad(SDValue Op, const X86Subtarget *Subtarget,
|
|||
"We can't implement an sext load without a arithmetic right shift!");
|
||||
|
||||
// Redistribute the loaded elements into the different locations.
|
||||
SmallVector<int, 8> ShuffleVec(NumElems * SizeRatio, -1);
|
||||
SmallVector<int, 16> ShuffleVec(NumElems * SizeRatio, -1);
|
||||
for (unsigned i = 0; i != NumElems; ++i)
|
||||
ShuffleVec[i * SizeRatio + SizeRatio - 1] = i;
|
||||
|
||||
|
@ -13350,7 +13350,7 @@ static SDValue LowerExtendedLoad(SDValue Op, const X86Subtarget *Subtarget,
|
|||
}
|
||||
|
||||
// Redistribute the loaded elements into the different locations.
|
||||
SmallVector<int, 8> ShuffleVec(NumElems * SizeRatio, -1);
|
||||
SmallVector<int, 16> ShuffleVec(NumElems * SizeRatio, -1);
|
||||
for (unsigned i = 0; i != NumElems; ++i)
|
||||
ShuffleVec[i * SizeRatio] = i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue