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

Commit e4fae84

Browse files
committed
Remove double semicolons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182778 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a84a83b commit e4fae84

File tree

3 files changed

+62
-62
lines changed

3 files changed

+62
-62
lines changed

lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ SDValue DAGTypeLegalizer::BitConvertVectorToIntegerVector(SDValue Op) {
881881

882882
SDValue DAGTypeLegalizer::CreateStackStoreLoad(SDValue Op,
883883
EVT DestVT) {
884-
SDLoc dl(Op);;
884+
SDLoc dl(Op);
885885
// Create the stack frame object. Make sure it is aligned for both
886886
// the source and destination types.
887887
SDValue StackPtr = DAG.CreateStackTemporary(Op.getValueType(), DestVT);
@@ -973,7 +973,7 @@ void DAGTypeLegalizer::GetSplitDestVTs(EVT InVT, EVT &LoVT, EVT &HiVT) {
973973
/// high parts of the given value.
974974
void DAGTypeLegalizer::GetPairElements(SDValue Pair,
975975
SDValue &Lo, SDValue &Hi) {
976-
SDLoc dl(Pair);;
976+
SDLoc dl(Pair);
977977
EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), Pair.getValueType());
978978
Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, NVT, Pair,
979979
DAG.getIntPtrConstant(0));
@@ -983,7 +983,7 @@ void DAGTypeLegalizer::GetPairElements(SDValue Pair,
983983

984984
SDValue DAGTypeLegalizer::GetVectorElementPointer(SDValue VecPtr, EVT EltVT,
985985
SDValue Index) {
986-
SDLoc dl(Index);;
986+
SDLoc dl(Index);
987987
// Make sure the index type is big enough to compute in.
988988
if (Index.getValueType().bitsGT(TLI.getPointerTy()))
989989
Index = DAG.getNode(ISD::TRUNCATE, dl, TLI.getPointerTy(), Index);
@@ -1001,8 +1001,8 @@ SDValue DAGTypeLegalizer::GetVectorElementPointer(SDValue VecPtr, EVT EltVT,
10011001
/// JoinIntegers - Build an integer with low bits Lo and high bits Hi.
10021002
SDValue DAGTypeLegalizer::JoinIntegers(SDValue Lo, SDValue Hi) {
10031003
// Arbitrarily use dlHi for result SDLoc
1004-
SDLoc dlHi(Hi);;
1005-
SDLoc dlLo(Lo);;
1004+
SDLoc dlHi(Hi);
1005+
SDLoc dlLo(Lo);
10061006
EVT LVT = Lo.getValueType();
10071007
EVT HVT = Hi.getValueType();
10081008
EVT NVT = EVT::getIntegerVT(*DAG.getContext(),
@@ -1074,7 +1074,7 @@ DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC,
10741074
/// of the given type. A target boolean is an integer value, not necessarily of
10751075
/// type i1, the bits of which conform to getBooleanContents.
10761076
SDValue DAGTypeLegalizer::PromoteTargetBoolean(SDValue Bool, EVT VT) {
1077-
SDLoc dl(Bool);;
1077+
SDLoc dl(Bool);
10781078
ISD::NodeType ExtendCode =
10791079
TargetLowering::getExtendForContent(TLI.getBooleanContents(VT.isVector()));
10801080
return DAG.getNode(ExtendCode, dl, VT, Bool);
@@ -1085,7 +1085,7 @@ SDValue DAGTypeLegalizer::PromoteTargetBoolean(SDValue Bool, EVT VT) {
10851085
void DAGTypeLegalizer::SplitInteger(SDValue Op,
10861086
EVT LoVT, EVT HiVT,
10871087
SDValue &Lo, SDValue &Hi) {
1088-
SDLoc dl(Op);;
1088+
SDLoc dl(Op);
10891089
assert(LoVT.getSizeInBits() + HiVT.getSizeInBits() ==
10901090
Op.getValueType().getSizeInBits() && "Invalid integer splitting!");
10911091
Lo = DAG.getNode(ISD::TRUNCATE, dl, LoVT, Op);

lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ SDValue VectorLegalizer::PromoteVectorOp(SDValue Op) {
320320
assert(Op.getNode()->getNumValues() == 1 &&
321321
"Can't promote a vector with multiple results!");
322322
MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT);
323-
SDLoc dl(Op);;
323+
SDLoc dl(Op);
324324
SmallVector<SDValue, 4> Operands(Op.getNumOperands());
325325

326326
for (unsigned j = 0; j != Op.getNumOperands(); ++j) {
@@ -357,7 +357,7 @@ SDValue VectorLegalizer::PromoteVectorOpINT_TO_FP(SDValue Op) {
357357
// Build a new vector type and check if it is legal.
358358
MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts);
359359

360-
SDLoc dl(Op);;
360+
SDLoc dl(Op);
361361
SmallVector<SDValue, 4> Operands(Op.getNumOperands());
362362

363363
unsigned Opc = Op.getOpcode() == ISD::UINT_TO_FP ? ISD::ZERO_EXTEND :
@@ -375,7 +375,7 @@ SDValue VectorLegalizer::PromoteVectorOpINT_TO_FP(SDValue Op) {
375375

376376

377377
SDValue VectorLegalizer::ExpandLoad(SDValue Op) {
378-
SDLoc dl(Op);;
378+
SDLoc dl(Op);
379379
LoadSDNode *LD = cast<LoadSDNode>(Op.getNode());
380380
SDValue Chain = LD->getChain();
381381
SDValue BasePTR = LD->getBasePtr();
@@ -519,7 +519,7 @@ SDValue VectorLegalizer::ExpandLoad(SDValue Op) {
519519
}
520520

521521
SDValue VectorLegalizer::ExpandStore(SDValue Op) {
522-
SDLoc dl(Op);;
522+
SDLoc dl(Op);
523523
StoreSDNode *ST = cast<StoreSDNode>(Op.getNode());
524524
SDValue Chain = ST->getChain();
525525
SDValue BasePTR = ST->getBasePtr();
@@ -574,7 +574,7 @@ SDValue VectorLegalizer::ExpandSELECT(SDValue Op) {
574574
// operands are vectors. Lower this select to VSELECT and implement it
575575
// using XOR AND OR. The selector bit is broadcasted.
576576
EVT VT = Op.getValueType();
577-
SDLoc DL(Op);;
577+
SDLoc DL(Op);
578578

579579
SDValue Mask = Op.getOperand(0);
580580
SDValue Op1 = Op.getOperand(1);
@@ -637,7 +637,7 @@ SDValue VectorLegalizer::ExpandSEXTINREG(SDValue Op) {
637637
TLI.getOperationAction(ISD::SHL, VT) == TargetLowering::Expand)
638638
return DAG.UnrollVectorOp(Op.getNode());
639639

640-
SDLoc DL(Op);;
640+
SDLoc DL(Op);
641641
EVT OrigTy = cast<VTSDNode>(Op->getOperand(1))->getVT();
642642

643643
unsigned BW = VT.getScalarType().getSizeInBits();
@@ -652,7 +652,7 @@ SDValue VectorLegalizer::ExpandSEXTINREG(SDValue Op) {
652652
SDValue VectorLegalizer::ExpandVSELECT(SDValue Op) {
653653
// Implement VSELECT in terms of XOR, AND, OR
654654
// on platforms which do not support blend natively.
655-
SDLoc DL(Op);;
655+
SDLoc DL(Op);
656656

657657
SDValue Mask = Op.getOperand(0);
658658
SDValue Op1 = Op.getOperand(1);
@@ -698,7 +698,7 @@ SDValue VectorLegalizer::ExpandVSELECT(SDValue Op) {
698698

699699
SDValue VectorLegalizer::ExpandUINT_TO_FLOAT(SDValue Op) {
700700
EVT VT = Op.getOperand(0).getValueType();
701-
SDLoc DL(Op);;
701+
SDLoc DL(Op);
702702

703703
// Make sure that the SINT_TO_FP and SRL instructions are available.
704704
if (TLI.getOperationAction(ISD::SINT_TO_FP, VT) == TargetLowering::Expand ||
@@ -751,7 +751,7 @@ SDValue VectorLegalizer::UnrollVSETCC(SDValue Op) {
751751
EVT EltVT = VT.getVectorElementType();
752752
SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1), CC = Op.getOperand(2);
753753
EVT TmpEltVT = LHS.getValueType().getVectorElementType();
754-
SDLoc dl(Op);;
754+
SDLoc dl(Op);
755755
SmallVector<SDValue, 8> Ops(NumElems);
756756
for (unsigned i = 0; i < NumElems; ++i) {
757757
SDValue LHSElem = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, TmpEltVT, LHS,

0 commit comments

Comments
 (0)