llvm-capstone/mlir
MaheshRavishankar 2b0c8546ac [mlir][Linalg] Add pass to remove unit-extent dims from tensor
operands of Generic ops.

Unit-extent dimensions are typically used for achieving broadcasting
behavior. The pattern added (along with canonicalization patterns
added previously) removes the use of unit-extent dimensions, and
instead uses a more canonical representation of the computation.  This
new pattern is not added as a canonicalization for now since it
entails adding additional reshape operations. A pass is added to
exercise these patterns, along with an API entry to populate a
patterns list with these patterns.

Differential Revision: https://reviews.llvm.org/D79766
2020-05-28 11:06:47 -07:00
..
cmake/modules [mlir] Make translation libraries available through MLIRConfig.cmake 2020-05-28 17:39:07 +02:00
docs [mlir] Add simple generator for return types 2020-05-27 08:45:55 -07:00
examples [mlir] Erase or clear blocks through ConversionPatternRewriter when applicable 2020-05-20 16:12:05 +02:00
include [mlir][Linalg] Add pass to remove unit-extent dims from tensor 2020-05-28 11:06:47 -07:00
lib [mlir][Linalg] Add pass to remove unit-extent dims from tensor 2020-05-28 11:06:47 -07:00
test [mlir][Linalg] Add pass to remove unit-extent dims from tensor 2020-05-28 11:06:47 -07:00
tools [mlir] Use ValueRange instead of ArrayRef<Value> 2020-05-28 09:05:24 -07:00
unittests [MLIR] LLVMMLIRTableGen -> MLIRTableGen 2020-05-19 14:49:32 -07:00
utils [mlir] Change generate-test-checks.py to %[[V:.*]] style 2020-05-13 14:50:14 -07:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.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][gpu][mlir-cuda-runner] Refactor ConvertKernelFuncToCubin to be generic. 2020-05-28 09:08:28 -05: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

Multi-Level Intermediate Representation

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