mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Stripped trailing whitespace. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e2ed1643a
commit
9223c2cb1e
@ -6356,7 +6356,7 @@ static SDValue getV4X86ShuffleImm8ForMask(ArrayRef<int> Mask, SDLoc DL,
|
||||
///
|
||||
/// This helper function produces an 8-bit shuffle immediate corresponding to
|
||||
/// the ubiquitous shuffle encoding scheme used in x86 instructions for
|
||||
/// shuffling 8 lanes.
|
||||
/// shuffling 8 lanes.
|
||||
static SDValue get1bitLaneShuffleImm8ForMask(ArrayRef<int> Mask, SDLoc DL,
|
||||
SelectionDAG &DAG) {
|
||||
assert(Mask.size() <= 8 &&
|
||||
@ -13021,11 +13021,11 @@ SDValue X86TargetLowering::getRsqrtEstimate(SDValue Op,
|
||||
RecipOp = "vec-sqrtf";
|
||||
else
|
||||
return SDValue();
|
||||
|
||||
|
||||
TargetRecip Recips = DCI.DAG.getTarget().Options.Reciprocals;
|
||||
if (!Recips.isEnabled(RecipOp))
|
||||
return SDValue();
|
||||
|
||||
|
||||
RefinementSteps = Recips.getRefinementSteps(RecipOp);
|
||||
UseOneConstNR = false;
|
||||
return DCI.DAG.getNode(X86ISD::FRSQRT, SDLoc(Op), VT, Op);
|
||||
@ -13038,7 +13038,7 @@ SDValue X86TargetLowering::getRecipEstimate(SDValue Op,
|
||||
unsigned &RefinementSteps) const {
|
||||
EVT VT = Op.getValueType();
|
||||
const char *RecipOp;
|
||||
|
||||
|
||||
// SSE1 has rcpss and rcpps. AVX adds a 256-bit variant for rcpps.
|
||||
// TODO: Add support for AVX512 (v16f32).
|
||||
// It is likely not profitable to do this for f64 because a double-precision
|
||||
@ -13053,7 +13053,7 @@ SDValue X86TargetLowering::getRecipEstimate(SDValue Op,
|
||||
RecipOp = "vec-divf";
|
||||
else
|
||||
return SDValue();
|
||||
|
||||
|
||||
TargetRecip Recips = DCI.DAG.getTarget().Options.Reciprocals;
|
||||
if (!Recips.isEnabled(RecipOp))
|
||||
return SDValue();
|
||||
@ -15110,7 +15110,7 @@ static SDValue LowerINTRINSIC_WO_CHAIN(SDValue Op, const X86Subtarget *Subtarget
|
||||
unsigned IntrWithRoundingModeOpcode = IntrData->Opc1;
|
||||
if (IntrWithRoundingModeOpcode != 0) {
|
||||
unsigned Round = cast<ConstantSDNode>(RoundingMode)->getZExtValue();
|
||||
if (Round != X86::STATIC_ROUNDING::CUR_DIRECTION)
|
||||
if (Round != X86::STATIC_ROUNDING::CUR_DIRECTION)
|
||||
return getVectorMaskingNode(DAG.getNode(IntrWithRoundingModeOpcode,
|
||||
dl, Op.getValueType(), Src, RoundingMode),
|
||||
Mask, PassThru, Subtarget, DAG);
|
||||
|
Loading…
Reference in New Issue
Block a user