llvm-project/mlir/lib
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
..
Analysis [mlir] fix shared-libs build 2021-06-08 11:30:31 +02:00
Bindings [MLIR] Execution engine python binding support for shared libraries 2021-06-12 05:46:38 +05:30
CAPI [MLIR] Execution engine python binding support for shared libraries 2021-06-12 05:46:38 +05:30
Conversion Introduce alloca_scope op 2021-06-11 19:28:41 +02:00
Dialect [MLIR] Simplify affine.if ops with trivial conditions 2021-06-12 19:29:10 +05:30
ExecutionEngine [mlir][sparse] add more type combinations to sparse storage scheme 2021-06-03 08:34:10 -07:00
IR Simplify getArgAttrDict/getResultAttrDict by removing unnecessary checks 2021-06-12 22:55:31 +00:00
Interfaces [mlir] fix a crash if the dialect is missing a data layout interface 2021-06-09 17:46:27 +02:00
Parser [mlir-lsp-server] Add support for textDocument/documentSymbols 2021-06-10 10:58:39 -07:00
Pass [mlir-ir-printing] Prefix the dump message with the split marker(// -----) 2021-06-10 17:34:50 -07:00
Reducer [mlir-reduce] Create MlirReduceLib 2021-06-03 15:58:26 +08:00
Rewrite [mlir] Add support for filtering patterns based on debug names and labels 2021-06-02 12:05:25 -07:00
Support [mlir-opt] Don't enable `printOpOnDiagnostic` if it was explicitly disabled. 2021-05-24 15:56:48 -07:00
TableGen [mlir] Support dialect-wide canonicalization pattern registration 2021-05-27 17:35:21 +09:00
Target [mlir][spirv] Use SingleBlock + NoTerminator for spv.module 2021-06-09 14:00:06 -04:00
Tools [mlir-lsp-server] Add support for textDocument/documentSymbols 2021-06-10 10:58:39 -07:00
Transforms [mlir] Remove redundant loads 2021-06-03 15:51:46 -07:00
Translation [mlir] avoid exposing mutable DialectRegistry from MLIRContext 2021-02-10 12:07:34 +01:00
CMakeLists.txt [mlir][Standard] NFC - Drop remaining EDSC usage 2021-05-21 10:40:39 +00:00