[llvm] [AArch64][GlobalISel] Adopt some Ld* patterns to reduce codegen regressions (PR #135492)
Vladislav Dzhidzhoev via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 09:17:48 PDT 2025
================
@@ -573,3 +573,10 @@ def : Pat<(v2i64 (AArch64dup (i64 (load GPR64sp:$Rn)))),
(LD1Rv2d GPR64sp:$Rn)>;
def : Pat<(v1i64 (AArch64dup (i64 (load GPR64sp:$Rn)))),
(LD1Rv1d GPR64sp:$Rn)>;
+
+defm : LoadInsertPatterns<load, v16i8, v8i8, nxv16i8, i8,
----------------
dzhidzhoev wrote:
I've moved these definitions back to their peers, and added `OnlyGISel` predicate to
1. Ignore them for SDAG
2. Indicate that they are meant for GlobalISel
https://github.com/llvm/llvm-project/pull/135492
More information about the llvm-commits
mailing list