[all-commits] [llvm/llvm-project] ec7486: [mlir] Provide CustomOpAsmParser::parseOptionalOpe...
ftynse via All-commits
all-commits at lists.llvm.org
Wed Mar 25 13:03:17 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ec74867c5e6a8ea38ea848f47ee2025ebb727397
https://github.com/llvm/llvm-project/commit/ec74867c5e6a8ea38ea848f47ee2025ebb727397
Author: Alex Zinenko <zinenko at google.com>
Date: 2020-03-25 (Wed, 25 Mar 2020)
Changed paths:
M mlir/include/mlir/IR/OpImplementation.h
M mlir/lib/Parser/Parser.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list