[llvm] [GlobalISel] Migrate remaining generic wip_match_opcode combines to MIR-pattern. (PR #222851)

Yaxun Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 07:16:28 PDT 2026


================
@@ -290,11 +294,22 @@ def combine_extracted_vector_load : GICombineRule<
         [{ return Helper.matchCombineExtractedVectorLoad(*${root}, ${matchinfo}); }]),
   (apply [{ Helper.applyBuildFn(*${root}, ${matchinfo}); }])>;
 
-def combine_indexed_load_store : GICombineRule<
+def combine_indexed_load_frags : GICombinePatFrag<
----------------
yxsamliu wrote:

This fragment is identical to `extending_loads_frags`. Could we use one shared load fragment instead?

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


More information about the llvm-commits mailing list