[llvm] [GISel][AMDGPU] Expand ShuffleVector (PR #124527)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 17 04:34:50 PST 2025
================
@@ -1560,6 +1560,13 @@ def combine_shuffle_concat : GICombineRule<
[{ return Helper.matchCombineShuffleConcat(*${root}, ${matchinfo}); }]),
(apply [{ Helper.applyCombineShuffleConcat(*${root}, ${matchinfo}); }])>;
+// Combines shuffles of vector into extract_subvector
+def combine_shuffle_vector : GICombineRule<
+ (defs root:$root, int64_matchinfo:$matchinfo),
----------------
Pierre-vh wrote:
```suggestion
(defs root:$root),
```
https://github.com/llvm/llvm-project/pull/124527
More information about the llvm-commits
mailing list