[all-commits] [llvm/llvm-project] c94892: [mlir][sparse] Factoring out type-based function-n...

wren romano via All-commits all-commits at lists.llvm.org
Tue Jan 4 16:18:10 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9489225678106c21cb8584c08f6003ba3987a5d
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp

  Log Message:
  [mlir][sparse] Factoring out type-based function-name suffixes

Depends On D115010

This changes a couple of places that used to `return failure();` to now use `llvm_unreachable()` instead. However, `Transforms/Sparsification.cpp` should be doing the necessary type checks to ensure that those cases are in fact unreachable.

Reviewed By: aartbik

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

More information about the All-commits mailing list