[llvm] [LLVM][CodeGen][SME] Don't use non-streaming zeroing instruction when in streaming mode. (PR #222353)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 08:47:47 PDT 2026


================
@@ -2743,6 +2743,15 @@ let Predicates = [HasSVE_or_SME] in {
   defm FSQRT_ZPmZ  : sve_fp_2op_p_zd_HSD<0b01101, "fsqrt",  AArch64fsqrt_mt>;
 } // End HasSVE_or_SME
 
+let Predicates = [HasSVE], AddedComplexity = 1 in {
----------------
paulwalker-arm wrote:

I'm not sure SVE without NEON is a viable combination but it cannot hurt, plus I see similar done elsewhere in SVEInstrInfo.

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


More information about the llvm-commits mailing list