[llvm] [AArch64][GlobalISel] Add combine for build_vector(unmerge, unmerge, undef, undef) (PR #165539)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 02:29:52 PDT 2025


================
@@ -332,6 +332,13 @@ def combine_mul_cmlt : GICombineRule<
   (apply [{ applyCombineMulCMLT(*${root}, MRI, B, ${matchinfo}); }])
 >;
 
+def combine_build_unmerge : GICombineRule<
+  (defs root:$root, register_matchinfo:$unmergeSrc),
+  (match (wip_match_opcode G_BUILD_VECTOR):$root,
----------------
davemgreen wrote:

It is best not to use wip_match_opcode any more.

https://github.com/llvm/llvm-project/pull/165539


More information about the llvm-commits mailing list