llvm-project/mlir
AlexEichenberger 01641197ee [MLIR] Remove TableGen redundant calls to native calls when creating new operations in DRR TableGen files
Summary:
Currently, the TableGen rewrite generates redundant native calls in MLIR DRR files. This is a problem as some native calls may involve significant computations (e.g. when performing constant propagation where every values in a large tensor is touched).

The pattern was as follow:

```c++
if (native-call(args)) tblgen_attrs.emplace_back(rewriter, attribute, native-call(args))
```

The replacement pattern compute `native-call(args)` once and then use it both in the `if` condition and the `emplace_back` call.

Differential Revision: https://reviews.llvm.org/D82101
2020-06-22 08:12:04 -07:00
..
cmake/modules Install the MLIRTableGen static library. 2020-06-11 18:23:24 -07:00
docs [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
examples [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
include [mlir] Fix linalg.generic matmul example in the doc 2020-06-22 13:24:41 +02:00
integration_test [mlir] [integration-test] [LLVMIR] Add reduction intrinsic tests 2020-06-18 13:44:46 -07:00
lib [mlir][spirv] Enhance AccessChainOp index type handling 2020-06-22 10:11:33 -04:00
test [MLIR] Remove TableGen redundant calls to native calls when creating new operations in DRR TableGen files 2020-06-22 08:12:04 -07:00
tools [MLIR] Remove TableGen redundant calls to native calls when creating new operations in DRR TableGen files 2020-06-22 08:12:04 -07:00
unittests [mlir][spirv] Enhance structure type member decoration handling 2020-06-12 17:57:14 -04:00
utils [MLIR] Add documentation for generate-check-lines.py 2020-06-16 11:39:02 -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] [integration_test] Make integration tests default OFF 2020-06-15 14:33:18 -07: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.