return false;
}
-// Check whether a shuffle_vecotor could be presented as conact_vector.
-bool AArch64TargetLowering::isConactVector(SDValue Op,SelectionDAG &DAG,
+// Check whether a shuffle_vector could be presented as concat_vector.
+bool AArch64TargetLowering::isConcatVector(SDValue Op,SelectionDAG &DAG,
SDValue V0, SDValue V1,
const int* Mask,
SDValue &Res) const {
return LowerVECTOR_SHUFFLE(Shuffle, DAG);
} else {
SDValue Res;
- if(isConactVector(Op, DAG, V0, V1, Mask, Res))
+ if(isConcatVector(Op, DAG, V0, V1, Mask, Res))
return Res;
}
}
}
SDValue Res;
- if (isConactVector(Op, DAG, V1, V2, &ShuffleMask[0], Res))
+ if (isConcatVector(Op, DAG, V1, V2, &ShuffleMask[0], Res))
return Res;
// If the element of shuffle mask are all the same constant, we can
SDLoc dl, SelectionDAG &DAG,
SmallVectorImpl<SDValue> &InVals) const;
- bool isConactVector(SDValue Op,SelectionDAG &DAG, SDValue V0, SDValue V1,
+ bool isConcatVector(SDValue Op,SelectionDAG &DAG, SDValue V0, SDValue V1,
const int* Mask, SDValue &Res) const;
bool isKnownShuffleVector(SDValue Op, SelectionDAG &DAG, SDValue &V0,