summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2021-11-05 12:05:02 +0100
committerAlex Zinenko <zinenko@google.com>2021-11-05 12:40:27 +0100
commit6981e5ec91c98a23753d2dae590156107d857fda (patch)
tree1ca7258d510b99fb0cc7d8fd120a7717b24444d3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5e9ac7c0a5fca46e911e23db808fe862b3c127bf (diff)
[mlir][python] fix constructor generation for optional operands in presence of segment attribute
The ODS-based Python op bindings generator has been generating incorrect specification of the operand segment in presence if both optional and variadic operand groups: optional groups were treated as variadic whereas they require separate treatement. Make sure it is the case. Also harden the tests around generated op constructors as they could hitherto accept the code for both optional and variadic arguments. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D113259
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions