[all-commits] [llvm/llvm-project] c918c6: [MLIR] Factor out common parts of the TLike constr...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Fri Jan 28 14:55:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c918c68f5cb1410b63168299b71b4c71b83ce516
      https://github.com/llvm/llvm-project/commit/c918c68f5cb1410b63168299b71b4c71b83ce516
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M mlir/include/mlir/IR/OpBase.td

  Log Message:
  -----------
  [MLIR] Factor out common parts of the TLike constraint

Type constraints such as BoolLike and SignlessIntegerLike appear to
have been defined by copy-paste and all share an underlying TypesLike
structure that can be factored out.

This also allows for defining additional constraints of a similar
form, such as F32Like.

Reviewed By: rriddle

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




More information about the All-commits mailing list