================ @@ -2155,6 +2155,17 @@ bool RISCVAsmParser::parseVTypeToken(const AsmToken &Tok, VTypeState &State, break; if (!RISCVVType::isValidLMUL(Lmul, Fractional)) break; + + if (Fractional) { + unsigned ELEN = STI->hasFeature(RISCV::FeatureStdExtZve64x) ? 64 : 32; + unsigned MinLMUL = ELEN / 8; + if (Lmul > MinLMUL) + Warning( + Tok.getLoc(), + Twine("The use of vtype encodings with LMUL < SEWMIN/ELEN == mf") + + Twine(MinLMUL) + Twine(" is reserved")); ---------------- topperc wrote:
nevermind. I see it is reserved. https://github.com/llvm/llvm-project/pull/94313 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits