Skip to content

Commit f19ef9f

Browse files
committed
Stripped trailing whitespace. NFC.
llvm-svn: 238654
1 parent 5d78c9c commit f19ef9f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
12651265
setLoadExtAction(ISD::SEXTLOAD, MVT::v8i64, MVT::v8i16, Legal);
12661266
setLoadExtAction(ISD::ZEXTLOAD, MVT::v8i64, MVT::v8i32, Legal);
12671267
setLoadExtAction(ISD::SEXTLOAD, MVT::v8i64, MVT::v8i32, Legal);
1268-
1268+
12691269
setOperationAction(ISD::BR_CC, MVT::i1, Expand);
12701270
setOperationAction(ISD::SETCC, MVT::i1, Custom);
12711271
setOperationAction(ISD::XOR, MVT::i1, Legal);
@@ -5281,7 +5281,7 @@ X86TargetLowering::LowerBUILD_VECTORvXi1(SDValue Op, SelectionDAG &DAG) const {
52815281
SDValue In = Op.getOperand(idx);
52825282
if (In.getOpcode() == ISD::UNDEF)
52835283
continue;
5284-
if (!isa<ConstantSDNode>(In))
5284+
if (!isa<ConstantSDNode>(In))
52855285
NonConstIdx.push_back(idx);
52865286
else {
52875287
Immediate |= cast<ConstantSDNode>(In)->getZExtValue() << idx;
@@ -5308,7 +5308,7 @@ X86TargetLowering::LowerBUILD_VECTORvXi1(SDValue Op, SelectionDAG &DAG) const {
53085308
}
53095309
else if (HasConstElts)
53105310
Imm = DAG.getConstant(0, dl, VT);
5311-
else
5311+
else
53125312
Imm = DAG.getUNDEF(VT);
53135313
if (Imm.getValueSizeInBits() == VT.getSizeInBits())
53145314
DstVec = DAG.getBitcast(VT, Imm);
@@ -12169,14 +12169,14 @@ SDValue X86TargetLowering::LowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const {
1216912169
if (InVT.is512BitVector() && InVT.getScalarSizeInBits() <= 16 &&
1217012170
Subtarget->hasBWI())
1217112171
return Op; // legal, will go to VPMOVB2M, VPMOVW2M
12172-
if ((InVT.is256BitVector() || InVT.is128BitVector())
12172+
if ((InVT.is256BitVector() || InVT.is128BitVector())
1217312173
&& InVT.getScalarSizeInBits() <= 16 &&
1217412174
Subtarget->hasBWI() && Subtarget->hasVLX())
1217512175
return Op; // legal, will go to VPMOVB2M, VPMOVW2M
1217612176
if (InVT.is512BitVector() && InVT.getScalarSizeInBits() >= 32 &&
1217712177
Subtarget->hasDQI())
1217812178
return Op; // legal, will go to VPMOVD2M, VPMOVQ2M
12179-
if ((InVT.is256BitVector() || InVT.is128BitVector())
12179+
if ((InVT.is256BitVector() || InVT.is128BitVector())
1218012180
&& InVT.getScalarSizeInBits() >= 32 &&
1218112181
Subtarget->hasDQI() && Subtarget->hasVLX())
1218212182
return Op; // legal, will go to VPMOVB2M, VPMOVQ2M
@@ -13665,7 +13665,7 @@ SDValue X86TargetLowering::LowerSELECT(SDValue Op, SelectionDAG &DAG) const {
1366513665
else if (Op2.getOpcode() == ISD::BITCAST && Op2.getOperand(0))
1366613666
Op2Scalar = Op2.getOperand(0);
1366713667
if (Op1Scalar.getNode() && Op2Scalar.getNode()) {
13668-
SDValue newSelect = DAG.getNode(ISD::SELECT, DL,
13668+
SDValue newSelect = DAG.getNode(ISD::SELECT, DL,
1366913669
Op1Scalar.getValueType(),
1367013670
Cond, Op1Scalar, Op2Scalar);
1367113671
if (newSelect.getValueSizeInBits() == VT.getSizeInBits())
@@ -16474,16 +16474,16 @@ static SDValue LowerMUL_LOHI(SDValue Op, const X86Subtarget *Subtarget,
1647416474

1647516475
// Return true if the requred (according to Opcode) shift-imm form is natively
1647616476
// supported by the Subtarget
16477-
static bool SupportedVectorShiftWithImm(MVT VT, const X86Subtarget *Subtarget,
16477+
static bool SupportedVectorShiftWithImm(MVT VT, const X86Subtarget *Subtarget,
1647816478
unsigned Opcode) {
1647916479
if (VT.getScalarSizeInBits() < 16)
1648016480
return false;
16481-
16481+
1648216482
if (VT.is512BitVector() &&
1648316483
(VT.getScalarSizeInBits() > 16 || Subtarget->hasBWI()))
1648416484
return true;
1648516485

16486-
bool LShift = VT.is128BitVector() ||
16486+
bool LShift = VT.is128BitVector() ||
1648716487
(VT.is256BitVector() && Subtarget->hasInt256());
1648816488

1648916489
bool AShift = LShift && (Subtarget->hasVLX() ||
@@ -16493,15 +16493,15 @@ static bool SupportedVectorShiftWithImm(MVT VT, const X86Subtarget *Subtarget,
1649316493

1649416494
// The shift amount is a variable, but it is the same for all vector lanes.
1649516495
// These instrcutions are defined together with shift-immediate.
16496-
static
16497-
bool SupportedVectorShiftWithBaseAmnt(MVT VT, const X86Subtarget *Subtarget,
16496+
static
16497+
bool SupportedVectorShiftWithBaseAmnt(MVT VT, const X86Subtarget *Subtarget,
1649816498
unsigned Opcode) {
1649916499
return SupportedVectorShiftWithImm(VT, Subtarget, Opcode);
1650016500
}
1650116501

1650216502
// Return true if the requred (according to Opcode) variable-shift form is
1650316503
// natively supported by the Subtarget
16504-
static bool SupportedVectorVarShift(MVT VT, const X86Subtarget *Subtarget,
16504+
static bool SupportedVectorVarShift(MVT VT, const X86Subtarget *Subtarget,
1650516505
unsigned Opcode) {
1650616506

1650716507
if (!Subtarget->hasInt256() || VT.getScalarSizeInBits() < 16)

0 commit comments

Comments
 (0)