@@ -4624,7 +4624,7 @@ static bool isElementRotate(const std::array<std::pair<int, int>, 2> &SrcInfo,
46244624}
46254625
46264626static bool isAlternating(const std::array<std::pair<int, int>, 2> &SrcInfo,
4627- const ArrayRef<int> Mask, bool RequiredPolarity) {
4627+ ArrayRef<int> Mask, bool RequiredPolarity) {
46284628 int NumElts = Mask.size();
46294629 for (unsigned i = 0; i != NumElts; ++i) {
46304630 int M = Mask[i];
@@ -4647,7 +4647,7 @@ static bool isAlternating(const std::array<std::pair<int, int>, 2> &SrcInfo,
46474647/// vs1: b0 b1 b2 b3
46484648/// vd: a0 b0 a2 b2
46494649static bool isZipEven(const std::array<std::pair<int, int>, 2> &SrcInfo,
4650- const ArrayRef<int> Mask) {
4650+ ArrayRef<int> Mask) {
46514651 return SrcInfo[0].second == 0 && SrcInfo[1].second == 1 &&
46524652 isAlternating(SrcInfo, Mask, true);
46534653}
@@ -4660,7 +4660,7 @@ static bool isZipEven(const std::array<std::pair<int, int>, 2> &SrcInfo,
46604660/// Note that the operand order is swapped due to the way we canonicalize
46614661/// the slides, so SrCInfo[0] is vs1, and SrcInfo[1] is vs2.
46624662static bool isZipOdd(const std::array<std::pair<int, int>, 2> &SrcInfo,
4663- const ArrayRef<int> Mask) {
4663+ ArrayRef<int> Mask) {
46644664 return SrcInfo[0].second == 0 && SrcInfo[1].second == -1 &&
46654665 isAlternating(SrcInfo, Mask, false);
46664666}
0 commit comments