mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-09 21:50:38 +00:00
Simplify code. No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f3562bc6b
commit
b19982c42b
@ -5288,10 +5288,7 @@ X86TargetLowering::LowerAsSplatVectorLoad(SDValue SrcOp, EVT VT, SDLoc dl,
|
||||
LD->getPointerInfo().getWithOffset(StartOffset),
|
||||
false, false, false, 0);
|
||||
|
||||
SmallVector<int, 8> Mask;
|
||||
for (unsigned i = 0; i != NumElems; ++i)
|
||||
Mask.push_back(EltNo);
|
||||
|
||||
SmallVector<int, 8> Mask(NumElems, EltNo);
|
||||
return DAG.getVectorShuffle(NVT, dl, V1, DAG.getUNDEF(NVT), &Mask[0]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user