[llvm] [AArch64][SVE] Select non-temporal instructions for loads/stores with the nontemporal flag (PR #171261)

Yuta Mukai via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 22:10:37 PST 2025


================
@@ -3076,6 +3075,15 @@ let Predicates = [HasSVE_or_SME] in {
               (RegImmInst ZPR:$val, (PTrue 31), GPR64:$base, (i64 0))>;
   }
 
+  defm : unpred_store<nontemporalstore, nxv16i8, STNT1B_ZRR, STNT1B_ZRI, PTRUE_B ,am_sve_regreg_lsl0>;
----------------
ytmukai wrote:

Thanks for the better solution.  I changed it to use `AddedComplexity` and reverted the changes for `temporal_load`/`temporal_store`.
Also fixed the misalignment.

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


More information about the llvm-commits mailing list