> I realize that both TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_MODES and > TARGET_VECTORIZE_RELATED_MODE will partially enable some > auto-vectorization even preferred_simd_mode does not enable > auto-vectorization when we don't specify > --param=riscv-autovec-preference. > > So plz add autovec_use_vlmax_p into both these target hook > implementation.
Yes, changed it. I think that's still minor enough as to not warrant a separate V2. Will wait for Kito for final verdict on this and commit with both changes if nothing else comes up. Regards Robin