llvm-project/mlir/include
Alexander Belyaev ed5363a674 [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait.
Many ops with this trait have `getBody()` and `getBodyBuilder()` methods defined in `extraClassDeclaration` in tablegen. `getBody()` implementation is the same accross all these ops, but `getBodyBuilder()` can return builders with varying insertion points set. In this PR, `getBody()` is moved into `SingleImplicitBlockTerminator` struct and `getBodyBuilder()` is replaced with `OpBuilder::atBlock(End|Terminator)(op.getBody);`.

Differential Revision: https://reviews.llvm.org/D78864
2020-04-27 21:48:52 +02:00
..
mlir [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait. 2020-04-27 21:48:52 +02:00
mlir-c Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00