llvm-project/mlir/test
Alex Zinenko 6981e5ec91 [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
2021-11-05 12:40:27 +01:00
..
Analysis
CAPI
Conversion
Dialect [mlir][sparse] implement full reduction "scalarization" across loop nests 2021-11-04 17:38:47 -07:00
Examples
IR Fix `insertFunctionArguments()` block argument order. 2021-11-05 10:08:20 +01:00
Integration
Interfaces
Pass
Rewrite
Target
Transforms
Unit
lib
mlir-cpu-runner
mlir-linalg-ods-gen
mlir-lsp-server
mlir-opt
mlir-reduce
mlir-spirv-cpu-runner
mlir-tblgen [mlir][python] fix constructor generation for optional operands in presence of segment attribute 2021-11-05 12:40:27 +01:00
mlir-translate
mlir-vulkan-runner
python [mlir][python] fix constructor generation for optional operands in presence of segment attribute 2021-11-05 12:40:27 +01:00
APITest.h
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in