llvm-project/mlir
Mehdi Amini 152c9871e6 Simplify getArgAttrDict/getResultAttrDict by removing unnecessary checks
There is a slight change in behavior: if the arg dictionnary is empty
then we return this empty dictionnary instead of a null attribute.
This is more consistent with accessing it through:

  ArrayAttr args_attr = func_op.getAllArgAttrs();
  args_attr[num].cast<DictionnaryAttr>() ...

Differential Revision: https://reviews.llvm.org/D104189
2021-06-12 22:55:31 +00:00
..
cmake/modules [MLIR] Make MLIR cmake variable names consistent 2021-05-24 08:43:10 +05:30
docs [mlir][docs] Reorder PassWrapper arguments 2021-06-11 21:49:29 +02:00
examples Add a helper function to convert LogicalResult to int for return from main 2021-05-19 00:12:39 +00:00
include Use dyn_cast_or_null instead of dyn_cast in FunctionLike::verifyTrait (NFC) 2021-06-12 20:08:37 +00:00
lib Simplify getArgAttrDict/getResultAttrDict by removing unnecessary checks 2021-06-12 22:55:31 +00:00
python [mlir] Provide minimal Python bindings for the math dialect 2021-06-11 13:21:26 +02:00
test [MLIR] Simplify affine.if ops with trivial conditions 2021-06-12 19:29:10 +05:30
tools [mlir][linalg] Cleanup left over uses of deprecated LinalgOp methods. 2021-06-04 08:48:02 +00:00
unittests [mlir] Add new SubElementAttr/SubElementType Interfaces 2021-06-10 17:23:07 -07:00
utils [mlir-vscode] Fix dependencies to enable packaging the extension properly. 2021-06-10 11:34:04 -07: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 [MLIR] Drop old cmake var names 2021-05-24 15:30:01 +05:30
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.