[llvm] [GlobalISel] Combine G_MERGE_VALUES of x and undef (PR #113616)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 2 02:04:40 PDT 2024


================
@@ -922,6 +922,9 @@ class CombinerHelper {
   bool matchUnmergeValuesAnyExtBuildVector(const MachineInstr &MI,
                                            BuildFnTy &MatchInfo);
 
+  // merge_values(_, undef) -> zext
----------------
tschuett wrote:

I first want to rebase on https://github.com/llvm/llvm-project/pull/113764, then I can clean it up.

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


More information about the llvm-commits mailing list