diff options
author | Mathieu Fehr <mathieu.fehr@gmail.com> | 2023-06-22 11:23:43 +0100 |
---|---|---|
committer | Mathieu Fehr <mathieu.fehr@gmail.com> | 2023-08-20 17:21:59 +0100 |
commit | 1295a351bd971a437d05c340436ab711daf09152 (patch) | |
tree | 0861dec310779ff13b0671951eab3edb6b071759 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 00aa1a8c3d0b8ca49e10dc2b9e54ac0b2d1149c3 (diff) | |
download | llvm-1295a351bd971a437d05c340436ab711daf09152.zip llvm-1295a351bd971a437d05c340436ab711daf09152.tar.gz llvm-1295a351bd971a437d05c340436ab711daf09152.tar.bz2 |
[mlir][irdl] Support variadicity check in operations
This patch adds support for loading IRDL operations that are
using optional or variadics operands and results.
If an operation declares more than one optional/variadic operand
or result, then it requires the segment sizes in the attribute
dictionary, and otherwise it is computed using the number of
operands or results.
Currently, a variadic operand or result definiton expects all
operands and results in that definition to have the same type.
This restriction will be removed in a following patch.
Depends on D153983
Reviewed By: Mogball, unterumarmung
Differential Revision: https://reviews.llvm.org/D154073
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions