llvm-project/mlir
Sean Silva 84a6da67e6 [mlir] Fix some edge cases around 0-element TensorFromElementsOp
This introduces a builder for the more general case that supports zero
elements (where the element type can't be inferred from the ValueRange,
since it might be empty).

Also, fix up some cases in ShapeToStandard lowering that hit this. It
happens very easily when dealing with shapes of 0-D tensors.

The SameOperandsAndResultElementType is redundant with the new
TypesMatchWith and prevented having zero elements.

Differential Revision: https://reviews.llvm.org/D87492
2020-09-11 10:58:35 -07:00
..
cmake/modules [mlir] Make mlir_check_link_libraries() work with interface libraries 2020-08-14 11:39:04 -07:00
docs Update SVG images to be properly cropped (NFC) 2020-09-08 00:56:10 +00:00
examples [mlir] Refactor standalone-translate to use mlirTranslateMain() 2020-09-04 15:26:44 +02:00
include [mlir] Fix some edge cases around 0-element TensorFromElementsOp 2020-09-11 10:58:35 -07:00
integration_test [mlir][Linalg] Integration tests for convolutions added. 2020-09-09 11:37:28 +00:00
lib [mlir] Fix some edge cases around 0-element TensorFromElementsOp 2020-09-11 10:58:35 -07:00
test [mlir] Fix some edge cases around 0-element TensorFromElementsOp 2020-09-11 10:58:35 -07:00
tools [mlir][Linalg] Refactor StructuredOpInterface - NFC 2020-09-11 07:53:12 -04:00
unittests [mlir] Support default valued attribute in StructsGen 2020-09-03 09:46:44 -04:00
utils Revert "Adding GDB PrettyPrinter for mlir::Identifier." 2020-09-03 08:28:15 +01:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [mlir] Initial version of C APIs 2020-08-05 15:04:08 +02:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

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