================
@@ -2543,6 +2553,31 @@ ParseStatus RISCVAsmParser::parseVScaleReg(OperandVector
&Operands) {
return ParseStatus::Success;
}
+ParseStatus RISCVAsmParser::parseTileLambda(OperandVector &Operands) {
+ if (getLexer().isNot(AsmToken::Identifier))
+ return ParseStatus::NoMatch;
+
+ SMLoc S = getLoc();
+ StringRef Name = getLexer().getTok().getIdentifier();
+ if (!Name.consume_front("L"))
+ return ParseStatus::NoMatch;
+
+ unsigned Lambda;
+ if (Name.getAsInteger(10, Lambda))
+ return Error(S, "operand must be L1, L2, L4, L8, L16, L32, or L64");
+
+ if (!isPowerOf2_32(Lambda) || Lambda >= 128)
----------------
imkiva wrote:
Thanks. fixed~
https://github.com/llvm/llvm-project/pull/198229
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits