mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 17:32:59 +00:00
Fix up some spacing. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5da8a80377
commit
6643d9c180
@ -5008,8 +5008,8 @@ X86TargetLowering::LowerVectorBroadcast(SDValue &Op, SelectionDAG &DAG) const {
|
|||||||
SDValue CP = DAG.getConstantPool(C, getPointerTy());
|
SDValue CP = DAG.getConstantPool(C, getPointerTy());
|
||||||
unsigned Alignment = cast<ConstantPoolSDNode>(CP)->getAlignment();
|
unsigned Alignment = cast<ConstantPoolSDNode>(CP)->getAlignment();
|
||||||
Ld = DAG.getLoad(CVT, dl, DAG.getEntryNode(), CP,
|
Ld = DAG.getLoad(CVT, dl, DAG.getEntryNode(), CP,
|
||||||
MachinePointerInfo::getConstantPool(),
|
MachinePointerInfo::getConstantPool(),
|
||||||
false, false, false, Alignment);
|
false, false, false, Alignment);
|
||||||
|
|
||||||
return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
|
return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
|
||||||
}
|
}
|
||||||
@ -5739,10 +5739,10 @@ X86TargetLowering::LowerVECTOR_SHUFFLEv8i16(SDValue Op,
|
|||||||
int EltIdx = MaskVals[i];
|
int EltIdx = MaskVals[i];
|
||||||
if (EltIdx < 0)
|
if (EltIdx < 0)
|
||||||
continue;
|
continue;
|
||||||
SDValue ExtOp = (EltIdx < 8)
|
SDValue ExtOp = (EltIdx < 8) ?
|
||||||
? DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i16, V1,
|
DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i16, V1,
|
||||||
DAG.getIntPtrConstant(EltIdx))
|
DAG.getIntPtrConstant(EltIdx)) :
|
||||||
: DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i16, V2,
|
DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i16, V2,
|
||||||
DAG.getIntPtrConstant(EltIdx - 8));
|
DAG.getIntPtrConstant(EltIdx - 8));
|
||||||
NewV = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, MVT::v8i16, NewV, ExtOp,
|
NewV = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, MVT::v8i16, NewV, ExtOp,
|
||||||
DAG.getIntPtrConstant(i));
|
DAG.getIntPtrConstant(i));
|
||||||
|
Loading…
Reference in New Issue
Block a user