[mlir] Provide CustomOpAsmParser::parseOptionalOperand
Summary: Some operations have custom syntax where an operand is always followed by a specific token of streams if the operand is present. Parsing such operations requires the ability to optionally parse an operand. Provide a relevant function in the custom Op parser. Differential Revision: https://reviews.llvm.org/D76779
Loading
Please sign in to comment