forked from OSchip/llvm-project
parent
ac969012ef
commit
a9f20495a2
|
@ -1401,7 +1401,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
|
|||
if (!VT.is512BitVector())
|
||||
continue;
|
||||
|
||||
if ( EltSize >= 32) {
|
||||
if (EltSize >= 32) {
|
||||
setOperationAction(ISD::VECTOR_SHUFFLE, VT, Custom);
|
||||
setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Custom);
|
||||
setOperationAction(ISD::BUILD_VECTOR, VT, Custom);
|
||||
|
@ -15400,8 +15400,8 @@ static SDValue LowerINTRINSIC_W_CHAIN(SDValue Op, const X86Subtarget *Subtarget,
|
|||
SDValue Index = Op.getOperand(4);
|
||||
SDValue Mask = Op.getOperand(5);
|
||||
SDValue Scale = Op.getOperand(6);
|
||||
return getGatherNode(IntrData->Opc0, Op, DAG, Src, Mask, Base, Index, Scale, Chain,
|
||||
Subtarget);
|
||||
return getGatherNode(IntrData->Opc0, Op, DAG, Src, Mask, Base, Index, Scale,
|
||||
Chain, Subtarget);
|
||||
}
|
||||
case SCATTER: {
|
||||
//scatter(base, mask, index, v1, scale);
|
||||
|
@ -15411,7 +15411,8 @@ static SDValue LowerINTRINSIC_W_CHAIN(SDValue Op, const X86Subtarget *Subtarget,
|
|||
SDValue Index = Op.getOperand(4);
|
||||
SDValue Src = Op.getOperand(5);
|
||||
SDValue Scale = Op.getOperand(6);
|
||||
return getScatterNode(IntrData->Opc0, Op, DAG, Src, Mask, Base, Index, Scale, Chain);
|
||||
return getScatterNode(IntrData->Opc0, Op, DAG, Src, Mask, Base, Index,
|
||||
Scale, Chain);
|
||||
}
|
||||
case PREFETCH: {
|
||||
SDValue Hint = Op.getOperand(6);
|
||||
|
@ -15428,7 +15429,8 @@ static SDValue LowerINTRINSIC_W_CHAIN(SDValue Op, const X86Subtarget *Subtarget,
|
|||
// Read Time Stamp Counter (RDTSC) and Processor ID (RDTSCP).
|
||||
case RDTSC: {
|
||||
SmallVector<SDValue, 2> Results;
|
||||
getReadTimeStampCounter(Op.getNode(), dl, IntrData->Opc0, DAG, Subtarget, Results);
|
||||
getReadTimeStampCounter(Op.getNode(), dl, IntrData->Opc0, DAG, Subtarget,
|
||||
Results);
|
||||
return DAG.getMergeValues(Results, dl);
|
||||
}
|
||||
// Read Performance Monitoring Counters.
|
||||
|
|
Loading…
Reference in New Issue