[all-commits] [llvm/llvm-project] c5f445: [mlir][python] Temporarily disable test for conver...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Thu Oct 7 11:51:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5f445d143485f898353df6d422eea1dea22c7a8
      https://github.com/llvm/llvm-project/commit/c5f445d143485f898353df6d422eea1dea22c7a8
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/test/python/ir/array_attributes.py

  Log Message:
  -----------
  [mlir][python] Temporarily disable test for converting unsupported DenseElementsAttr types to a buffer.

* Need to investigate the proper solution to https://github.com/pybind/pybind11/issues/3336 or engineer something different.
* The attempt to produce an empty buffer_info as a workaround triggers asan/ubsan.
* Usage of this API does not arise naturally in practice yet, and it is more important to be asan/crash clean than have a solution right now.
* Switching back to raising an exception, even though that triggers terminate().




More information about the All-commits mailing list