Nested tuples were only supported in some narrow edge cases (and
potentially only because the test ops like test.make_tuple aren't
properly verified). This patch adds a couple of test cases with tested
tuple types and makes them work in the test pass by extending the
argument materialization and decomposition functions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Minor updates: remove some dead code from test, explain test cases better, replace term "field" with element in comments and variable names.
mlir/include/mlir/Dialect/Func/Transforms/DecomposeCallGraphTypes.h | ||
---|---|---|
57 | I added std::decay like it is done for TypeConverter::addConversion in order to allow passing function pointers in addition to lambdas. |
I added std::decay like it is done for TypeConverter::addConversion in order to allow passing function pointers in addition to lambdas.