Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 9b33ef7

Browse files
committed
Remove trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173008 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 07d5617 commit 9b33ef7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5668,39 +5668,39 @@ LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp,
56685668
// Check the mask for BLEND and build the value.
56695669
unsigned MaskValue = 0;
56705670
// There are 2 lanes if (NumElems > 8), and 1 lane otherwise.
5671-
unsigned NumLanes = (NumElems-1)/8 + 1;
5671+
unsigned NumLanes = (NumElems-1)/8 + 1;
56725672
unsigned NumElemsInLane = NumElems / NumLanes;
56735673

56745674
// Blend for v16i16 should be symetric for the both lanes.
56755675
for (unsigned i = 0; i < NumElemsInLane; ++i) {
56765676

5677-
int SndLaneEltIdx = (NumLanes == 2) ?
5677+
int SndLaneEltIdx = (NumLanes == 2) ?
56785678
SVOp->getMaskElt(i + NumElemsInLane) : -1;
56795679
int EltIdx = SVOp->getMaskElt(i);
56805680

5681-
if ((EltIdx == -1 || EltIdx == (int)i) &&
5681+
if ((EltIdx == -1 || EltIdx == (int)i) &&
56825682
(SndLaneEltIdx == -1 || SndLaneEltIdx == (int)(i + NumElemsInLane)))
56835683
continue;
56845684

5685-
if (((unsigned)EltIdx == (i + NumElems)) &&
5686-
(SndLaneEltIdx == -1 ||
5685+
if (((unsigned)EltIdx == (i + NumElems)) &&
5686+
(SndLaneEltIdx == -1 ||
56875687
(unsigned)SndLaneEltIdx == i + NumElems + NumElemsInLane))
56885688
MaskValue |= (1<<i);
5689-
else
5689+
else
56905690
return SDValue();
56915691
}
56925692

56935693
// Convert i32 vectors to floating point if it is not AVX2.
56945694
// AVX2 introduced VPBLENDD instruction for 128 and 256-bit vectors.
56955695
EVT BlendVT = VT;
56965696
if (EltVT == MVT::i64 || (EltVT == MVT::i32 && !Subtarget->hasInt256())) {
5697-
BlendVT = EVT::getVectorVT(*DAG.getContext(),
5698-
EVT::getFloatingPointVT(EltVT.getSizeInBits()),
5697+
BlendVT = EVT::getVectorVT(*DAG.getContext(),
5698+
EVT::getFloatingPointVT(EltVT.getSizeInBits()),
56995699
NumElems);
57005700
V1 = DAG.getNode(ISD::BITCAST, dl, VT, V1);
57015701
V2 = DAG.getNode(ISD::BITCAST, dl, VT, V2);
57025702
}
5703-
5703+
57045704
SDValue Ret = DAG.getNode(X86ISD::BLENDI, dl, BlendVT, V1, V2,
57055705
DAG.getConstant(MaskValue, MVT::i32));
57065706
return DAG.getNode(ISD::BITCAST, dl, VT, Ret);

0 commit comments

Comments
 (0)