[all-commits] [llvm/llvm-project] 7313c3: [mlir] Use llvm::bit_width (NFC) (#138648)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed May 7 16:16:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7313c3b1f1454b408d9f845a1c6aa40c5b36cae9
      https://github.com/llvm/llvm-project/commit/7313c3b1f1454b408d9f845a1c6aa40c5b36cae9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

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

  Log Message:
  -----------
  [mlir] Use llvm::bit_width (NFC) (#138648)

Note that bit_width is implemented as:

  std::numeric_limits<T>::digits - llvm::countl_zero(Value);



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list