================ @@ -3976,6 +3976,9 @@ def warn_sme_streaming_pass_return_vl_to_non_streaming : Warning< "%select{returning|passing}0 a VL-dependent argument %select{from|to}0 a function with a different" " streaming-mode is undefined behaviour when the streaming and non-streaming vector lengths are different at runtime">, InGroup<AArch64SMEAttributes>, DefaultIgnore; +def err_sme_streaming_transition_vl_mismatch : Error< + "%select{returning|passing}0 a VL-dependent argument %select{from|to}0 a function with a different" + " streaming-mode is invalid because the non-streaming vector length (%1) and streaming vector length (%2) differ">; ---------------- MacDue wrote:
very nit: I think it would be nice to say e.g. `(128 bit)` vs `(256 bit)` rather than `(128)` and `(256)` ```suggestion " streaming-mode is invalid because the non-streaming vector length (%1 bit) and streaming vector length (%2 bit) differ">; ``` https://github.com/llvm/llvm-project/pull/159131 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits