[all-commits] [llvm/llvm-project] 0f6f5b: [libc][__support][bit] simplify FLZ (#81678)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Wed Feb 14 08:52:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f6f5bfe5322f08a96fda149ff70888dc45a2e35
      https://github.com/llvm/llvm-project/commit/0f6f5bfe5322f08a96fda149ff70888dc45a2e35
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M libc/src/__support/CPP/bit.h

  Log Message:
  -----------
  [libc][__support][bit] simplify FLZ (#81678)

`countl_zero(~x)` *is* `countl_one(x)`




More information about the All-commits mailing list