[all-commits] [llvm/llvm-project] b62c7e: [mlir][python] Swap shape and element_type order f...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Tue Jan 19 16:05:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b62c7e047420026dcfe84ad66969f501698acbee
      https://github.com/llvm/llvm-project/commit/b62c7e047420026dcfe84ad66969f501698acbee
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M mlir/examples/python/linalg_matmul.py
    M mlir/lib/Bindings/Python/IRModules.cpp
    M mlir/test/Bindings/Python/ir_types.py

  Log Message:
  -----------
  [mlir][python] Swap shape and element_type order for MemRefType.

* Matches how all of the other shaped types are declared.
* No super principled reason fro this ordering beyond that it makes the one that was different be like the rest.
* Also matches ordering of things like ndarray, et al.

Reviewed By: ftynse, nicolasvasilache

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




More information about the All-commits mailing list