[llvm] [AArch64] Full reverse shuffles. (PR #119083)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 8 06:35:55 PST 2024
================
@@ -131,6 +131,13 @@ def ext: GICombineRule <
(apply [{ applyEXT(*${root}, ${matchinfo}); }])
>;
+def fullrev: GICombineRule <
+ (defs root:$root, shuffle_matchdata:$matchinfo),
+ (match (G_SHUFFLE_VECTOR $src, $src1, $src2, $mask):$root,
+ [{ return matchFullRev(*${root}, MRI); }]),
----------------
arsenm wrote:
Predicate seems like it can go in the generic combiner
https://github.com/llvm/llvm-project/pull/119083
More information about the llvm-commits
mailing list