[all-commits] [llvm/llvm-project] 04cffa: [Support] Simplify CTLog2 (NFC) (#143559)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue Jun 10 11:32:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04cffaae8f6110da7c5808a4f8107331357f56e4
      https://github.com/llvm/llvm-project/commit/04cffaae8f6110da7c5808a4f8107331357f56e4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

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

  Log Message:
  -----------
  [Support] Simplify CTLog2 (NFC) (#143559)

We can drop kValue > 0 in CTLog2 because llvm::isPowerOf2_64 returns
false on input 0.



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