[all-commits] [llvm/llvm-project] 1738d0: [Support] Use llvm::bit_ceil (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Jan 29 16:07:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1738d046631aed29c2ce7e3b1e79c1ba81eef27d
      https://github.com/llvm/llvm-project/commit/1738d046631aed29c2ce7e3b1e79c1ba81eef27d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-01-29 (Sun, 29 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Support/OnDiskHashTable.h

  Log Message:
  -----------
  [Support] Use llvm::bit_ceil (NFC)

For nonzero X, NextPowerOf2(X) is equivalent to llvm::bit_ceil(X + 1).




More information about the All-commits mailing list