[all-commits] [llvm/llvm-project] e81bf6: [MLIR] Modify HasParent trait to allow one of seve...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Jun 15 21:54:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e81bf67e8cf91ecfc8727fb03b9af20063f74d71
      https://github.com/llvm/llvm-project/commit/e81bf67e8cf91ecfc8727fb03b9af20063f74d71
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/test/IR/traits.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [MLIR] Modify HasParent trait to allow one of several op's as a parent

- Modify HasParent trait to allow one of several op's as a parent -
- Expose this trait in the ODS framework using the ParentOneOf<> trait.

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




More information about the All-commits mailing list