[llvm] [AArch64] Let patterns for NEON instructions check runtime mode. (PR #95560)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 15:52:49 PDT 2024
================
@@ -5934,7 +5929,7 @@ def : Pat<(v2f64 (AArch64frsqrts (v2f64 FPR128:$Rn), (v2f64 FPR128:$Rm))),
// Some float -> int -> float conversion patterns for which we want to keep the
// int values in FP registers using the corresponding NEON instructions to
// avoid more costly int <-> fp register transfers.
-let Predicates = [HasNEON] in {
+let Predicates = [HasNEONorSME] in {
----------------
efriedma-quic wrote:
Comment on the closing brace also needs to be updated.
https://github.com/llvm/llvm-project/pull/95560
More information about the llvm-commits
mailing list