llvm-project/mlir/lib
Nicolas Vasilache 866cb26039 [mlir] Fix SubTensorInsertOp semantics
Like SubView, SubTensor/SubTensorInsertOp are allowed to have rank-reducing/expanding semantics. In the case of SubTensorInsertOp , the rank of offsets/sizes/strides should be the rank of the destination tensor.

Also, add a builder flavor for SubTensorOp to return a rank-reduced tensor.

Differential Revision: https://reviews.llvm.org/D95076
2021-01-20 20:16:01 +00:00
..
Analysis [mlir][Affine] Add support for multi-store producer fusion 2021-01-20 19:03:07 +02:00
Bindings [mlir][python] Swap shape and element_type order for MemRefType. 2021-01-19 16:03:19 -08:00
CAPI Fix a few GCC compiler warnings (NFC) 2021-01-19 06:00:04 +00:00
Conversion [mlir][splitting std] move 2 more ops to `tensor` 2021-01-19 13:49:25 -08:00
Dialect [mlir] Fix SubTensorInsertOp semantics 2021-01-20 20:16:01 +00:00
EDSC [mlir][linalg] Add vectorization for element-wise linalg ops 2020-12-03 15:31:13 -08:00
ExecutionEngine [mlir] Link mlir_runner_utils statically into cuda/rocm-runtime-wrappers. 2021-01-20 12:10:16 +01:00
IR [mlir][Affine] Revisit and simplify composeAffineMapAndOperands. 2021-01-19 13:52:07 +00:00
Interfaces [mlir][Linalg] Define a linalg.init_tensor operation. 2020-12-17 14:45:51 -08:00
Parser [mlir] Add better support for f80 and f128 2021-01-15 10:29:48 -05:00
Pass [mlir][PassManager] Properly set the initialization generation when cloning a pass manager 2021-01-08 14:41:29 -08:00
Reducer [mlir] NFC: fix trivial typos 2020-10-29 04:05:22 +09:00
Rewrite Fix a few GCC compiler warnings (NFC) 2021-01-19 06:00:04 +00:00
Support [mlir] Add option to read reproducer options from file 2020-12-30 10:46:01 -08:00
TableGen [mlir][TypeDefGen] Add support for adding builders when generating a TypeDef 2021-01-11 12:06:22 -08:00
Target [mlir] Add better support for f80 and f128 2021-01-15 10:29:48 -05:00
Transforms Avoid unused variable warning in opt mode 2021-01-20 09:45:22 -08:00
Translation [mlir] Print the correct tool name in mlirTranslateMain 2021-01-05 19:17:01 -08:00
CMakeLists.txt [mlir][NFC] Move around the code related to PatternRewriting to improve layering 2020-10-26 18:01:06 -07:00