[all-commits] [llvm/llvm-project] 8893d0: [MLIR] Change Operation::create() methods to use V...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Tue Sep 8 14:19:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8893d0816ccdf8998d2e21b5430e9d6abe7ef465
      https://github.com/llvm/llvm-project/commit/8893d0816ccdf8998d2e21b5430e9d6abe7ef465
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

  Changed paths:
    M mlir/include/mlir/IR/BlockSupport.h
    M mlir/include/mlir/IR/Operation.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/IR/Block.cpp
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/IR/OperationSupport.cpp

  Log Message:
  -----------
  [MLIR] Change Operation::create() methods to use Value/Type/Block ranges.

- Introduce a new BlockRange class to represent range of blocks (constructible from
  an ArrayRef<Block *> or a SuccessorRange);
- Change Operation::create() methods to use TypeRange for result types, ValueRange for
  operands and BlockRange for successors.

Differential Revision: https://reviews.llvm.org/D86985




More information about the All-commits mailing list