On Thu, Apr 20, 2023 at 10:56 AM juzhe.zh...@rivai.ai <juzhe.zh...@rivai.ai> wrote: > > >> The comment above might not sync with your implementation? > Address comment. > > >> Actually, you've allowed TARGET_MIN_VLEN < 128 && riscv_autovec_lmul < > >> RVV_M2 > Not sure I am on the same page with you. I return word_mode for this > situation, the auto-vectorization > will be disabled. I have testcase to test it and I didn't see issue. Would > you mind giving me more informations?
Oh, I just said something opposite, I mean you allow TARGET_MIN_VLEN < 128 with LMUL >2 for vectorize, which is inconsistent with "We only enable auto-vectorization when TARGET_MIN_VLEN >= 128"