mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 20:51:35 +00:00
[MLIR] Add a comment to requiredOperandCount
arg in LoopOps.cpp.
Differential Revision: https://reviews.llvm.org/D75578
This commit is contained in:
parent
b1324e74da
commit
ffcb492327
@ -413,7 +413,8 @@ static ParseResult parseParallelOp(OpAsmParser &parser,
|
||||
// Parse step value.
|
||||
SmallVector<OpAsmParser::OperandType, 4> initVals;
|
||||
if (succeeded(parser.parseOptionalKeyword("init"))) {
|
||||
if (parser.parseOperandList(initVals, -1, OpAsmParser::Delimiter::Paren))
|
||||
if (parser.parseOperandList(initVals, /*requiredOperandCount=*/-1,
|
||||
OpAsmParser::Delimiter::Paren))
|
||||
return failure();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user