[all-commits] [llvm/llvm-project] f9d505: [mlir][sparse] updating methods to get MLIRContext

wren romano via All-commits all-commits at lists.llvm.org
Fri Aug 4 17:56:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9d505316bb40339010a95d1f68dba83252e708d
      https://github.com/llvm/llvm-project/commit/f9d505316bb40339010a95d1f68dba83252e708d
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/IR/Detail/DimLvlMap.h

  Log Message:
  -----------
  [mlir][sparse] updating methods to get MLIRContext

Renames the old `DimLvlExpr::getContext` to `tryGetContext` to make it clear that the result could be a nullptr.  Also adds new delegation methods `DimSpec::tryGetContext` and `LvlSpec::getContext`.

Reviewed By: aartbik

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




More information about the All-commits mailing list