[all-commits] [llvm/llvm-project] 2c8f5b: [MLIR] Make ComplexType buildable if its element t...

Chris Morin via All-commits all-commits at lists.llvm.org
Tue Dec 29 15:32:10 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c8f5bd53945a209cd3cd851c63df3713fa0f9bd
      https://github.com/llvm/llvm-project/commit/2c8f5bd53945a209cd3cd851c63df3713fa0f9bd
  Author: Chris Morin <cmtm at google.com>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M mlir/include/mlir/IR/OpBase.td
    M mlir/test/mlir-tblgen/types.mlir

  Log Message:
  -----------
  [MLIR] Make ComplexType buildable if its element type is buildable

If a ComplexType's element type is buildable, then that ComplexType should be
buildable. This is accomplished by the introduction of a new ODS class called
`SameBuildabilityAs`. This can be used by other types that are conditionally
buildable.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list