diff options
author | River Riddle <riddleriver@gmail.com> | 2020-04-10 14:11:45 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-04-10 14:12:06 -0700 |
commit | aba1acc89c653b2cc08cccfb754ff16994a05332 (patch) | |
tree | b678bbce7f3339b04fa606e32e1a8862909fd330 /llvm/lib/CodeGen/MachineDebugify.cpp | |
parent | 2a922da3a95f77a0eec96eab9ebc8c1ff090fb8c (diff) | |
download | llvm-aba1acc89c653b2cc08cccfb754ff16994a05332.zip llvm-aba1acc89c653b2cc08cccfb754ff16994a05332.tar.gz llvm-aba1acc89c653b2cc08cccfb754ff16994a05332.tar.bz2 |
[mlir][ODS] Add support for optional operands and results with a new Optional directive.
Summary: This revision adds support for specifying operands or results as "optional". This is a special case of variadic where the number of elements is either 0 or 1. Operands and results of this kind will have accessors generated using Value instead of the range types, making it more natural to interface with.
Differential Revision: https://reviews.llvm.org/D77863
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugify.cpp')
0 files changed, 0 insertions, 0 deletions