llvm-project/mlir
Mogball 1aa0b84fa4 [mlir][ods] Fix OpFormatGen calling inferReturnTypes before region/segment resolution
The generated parser for ops with type inference calls `inferReturnTypes` before region resolution and segment attribute resolution, i.e. regions and the segment attributes are not passed to the `inferReturnTypes` even though it may need that information.

In particular, an op that has sized operand segments which queries those operands in its `inferReturnTypes` function will crash because the segment attributes hadn't been added yet.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D115782
2021-12-16 19:04:50 +00:00
..
cmake/modules [mlir][ods] AttrOrTypeGen uses Class 2021-12-01 16:53:23 +00:00
docs [mlir][linalg] Remove RangeOp and RangeType. 2021-12-15 07:19:10 +00:00
examples Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
include [mlir] Extend `tensor.from_elements` to support N-D case. 2021-12-16 14:52:41 +01:00
lib [mlir] Fix invalidated reference when loading dependent dialects 2021-12-16 18:59:12 +00:00
python [mlir][python] Add fused location 2021-12-11 10:16:13 -08:00
test [mlir][ods] Fix OpFormatGen calling inferReturnTypes before region/segment resolution 2021-12-16 19:04:50 +00:00
tools [mlir][ods] Fix OpFormatGen calling inferReturnTypes before region/segment resolution 2021-12-16 19:04:50 +00:00
unittests [mlir][scf] Add getNumRegionInvocations to IfOp 2021-12-15 14:56:20 +00:00
utils [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt Build MLIR with -Werror=mismatched-tags (NFC) 2021-12-08 05:59:06 +00:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.