[llvm] [AArch64] recognise zip1/zip2 with flipped operands (PR #167235)
Philip Ginsbach-Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 19 11:29:03 PST 2025
================
@@ -6623,34 +6623,49 @@ inline unsigned getPerfectShuffleCost(llvm::ArrayRef<int> M) {
/// Return true for zip1 or zip2 masks of the form:
/// <0, 8, 1, 9, 2, 10, 3, 11> or
-/// <4, 12, 5, 13, 6, 14, 7, 15>
+/// <4, 12, 5, 13, 6, 14, 7, 15> or
+/// <8, 0, 9, 1, 10, 2, 11, 3> or
+/// <12, 4, 13, 5, 14, 6, 15, 7>
----------------
ginsbach wrote:
Done in commit 4.
https://github.com/llvm/llvm-project/pull/167235
More information about the llvm-commits
mailing list