[llvm] [AArch64][GlobalISel] Perfect Shuffles (PR #106446)
Dhruv Chawla via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 21:00:26 PDT 2024
================
@@ -129,6 +129,13 @@ def shuf_to_ins: GICombineRule <
(apply [{ applyINS(*${root}, MRI, B, ${matchinfo}); }])
>;
+def perfect_shuffle: GICombineRule <
+ (defs root:$root),
+ (match (wip_match_opcode G_SHUFFLE_VECTOR):$root,
----------------
dc03-work wrote:
Please avoid using `wip_match_opcode`.
https://github.com/llvm/llvm-project/pull/106446
More information about the llvm-commits
mailing list