[all-commits] [llvm/llvm-project] b0d76f: [mlir] Centralize handling of memref element types.

Sean Silva via All-commits all-commits at lists.llvm.org
Fri Aug 7 15:25:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b0d76f454daad66482b1084b302ed252124b7bdd
      https://github.com/llvm/llvm-project/commit/b0d76f454daad66482b1084b302ed252124b7bdd
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

  Changed paths:
    M mlir/include/mlir/IR/StandardTypes.h
    M mlir/lib/IR/StandardTypes.cpp
    M mlir/test/IR/invalid.mlir
    M mlir/test/IR/parser.mlir

  Log Message:
  -----------
  [mlir] Centralize handling of memref element types.

This also beefs up the test coverage:
- Make unranked memref testing consistent with ranked memrefs.
- Add testing for the invalid element type cases.

This is not quite NFC: index types are now allowed in unranked memrefs.

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




More information about the All-commits mailing list