[all-commits] [llvm/llvm-project] 3da83f: [mlir][sparse] Improving error detection/messages ...

wren romano via All-commits all-commits at lists.llvm.org
Wed May 3 18:48:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3da83fbafef1689de1fc45c2c3fa3d258edda09d
      https://github.com/llvm/llvm-project/commit/3da83fbafef1689de1fc45c2c3fa3d258edda09d
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h

  Log Message:
  -----------
  [mlir][sparse] Improving error detection/messages for `get{RankedTensor,MemRef}Type` wrappers

This helps catch some otherwise hard to track down segfaults. N.B., even though `getSparseTensorType` is not touched in this patch, it also gains the new error checking (via `getRankedTensorType`).

Depends On D149805

Reviewed By: aartbik

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




More information about the All-commits mailing list