[all-commits] [llvm/llvm-project] a04c0b: [mlir][python] Fix MemRefType IsAFunction in Pytho...

ftynse via All-commits all-commits at lists.llvm.org
Thu Oct 14 04:12:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a04c0b7ed2f92456558af2833f64cd494d161905
      https://github.com/llvm/llvm-project/commit/a04c0b7ed2f92456558af2833f64cd494d161905
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/IRTypes.cpp
    M mlir/python/mlir/dialects/_memref_ops_ext.py
    M mlir/test/python/dialects/memref.py

  Log Message:
  -----------
  [mlir][python] Fix MemRefType IsAFunction in Python bindings

MemRefType was using a wrong `isa` function in the bindings code, which
could lead to invalid IR being constructed. Also run the verifier in
memref dialect tests.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list