llvm-project/mlir
Rahul Joshi a3ad8f92b4 [MLIR] Add type checking capability to RegionBranchOpInterface
- Add function `verifyTypes` that Op's can call to do type checking verification
  along the control flow edges described the Op's RegionBranchOpInterface.
- We cannot rely on the verify methods on the OpInterface because the interface
  functions assume valid Ops, so they may crash if invoked on unverified Ops.
  (For example, scf.for getSuccessorRegions() calls getRegionIterArgs(), which
  dereferences getBody() block. If the scf.for is invalid with no body, this
  can lead to a segfault). `verifyTypes` can be called post op-verification to
  avoid this.

Differential Revision: https://reviews.llvm.org/D82829
2020-07-15 11:14:07 -07:00
..
cmake/modules Install the MLIRTableGen static library. 2020-06-11 18:23:24 -07:00
docs [mlir] Add support for parsing optional Attribute values. 2020-07-14 13:14:59 -07:00
examples [MLIR] Add variadic isa<> for Type, Value, and Attribute 2020-06-29 15:04:48 -07:00
include [MLIR] Add type checking capability to RegionBranchOpInterface 2020-07-15 11:14:07 -07:00
integration_test [mlir] Add alignment attribute to LLVM memory ops and use in vector.transfer 2020-07-13 17:35:20 -04:00
lib [MLIR] Add type checking capability to RegionBranchOpInterface 2020-07-15 11:14:07 -07:00
test [MLIR] Add type checking capability to RegionBranchOpInterface 2020-07-15 11:14:07 -07:00
tools [mlir] Add support for parsing optional Attribute values. 2020-07-14 13:14:59 -07:00
unittests [NFC] Fix comment style in MLIR unittests to conform to LLVM coding standards. 2020-07-12 07:27:02 -07:00
utils [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
.clang-format
.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 Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -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.