[all-commits] [llvm/llvm-project] 4a9689: [libc] Fix exp2f and prevent misuse of likely/unli...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Feb 10 06:02:13 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a96893fc5ca0ed681b60ffd4a5eba3f094c2f1b
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M libc/src/__support/macros/attributes.h
    M libc/src/math/generic/exp2f.cpp

  Log Message:
  [libc] Fix exp2f and prevent misuse of likely/unlikely

Let's make sure that we only accept boolean expressions when using likely/unlikely.

Differential Revision: https://reviews.llvm.org/D143732

More information about the All-commits mailing list