[all-commits] [llvm/llvm-project] cd481f: [mlir][sparse] Change LevelType enum to 64 bit (#8...

Yinying Li via All-commits all-commits at lists.llvm.org
Mon Feb 5 14:01:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd481fa827b76953cd12dae9319face96670c0b3
      https://github.com/llvm/llvm-project/commit/cd481fa827b76953cd12dae9319face96670c0b3
  Author: Yinying Li <107574043+yinying-lisa-li at users.noreply.github.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M mlir/include/mlir-c/Dialect/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/lib/Bindings/Python/DialectSparseTensor.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenUtils.h
    M mlir/test/CAPI/sparse_tensor.c
    M mlir/test/Dialect/SparseTensor/conversion.mlir
    M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
    M mlir/test/python/dialects/sparse_tensor/dialect.py

  Log Message:
  -----------
  [mlir][sparse] Change LevelType enum to 64 bit (#80501)

1. C++ enum is set through enum class LevelType : uint_64.
2. C enum is set through typedef uint_64 level_type. It is due to the
limitations in Windows build: setting enum width to ui64 is not
supported in C.




More information about the All-commits mailing list