Let's make sure that we only accept boolean expressions when using likely/unlikely.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143732
[libc] Fix exp2f and prevent misuse of likely/unlikely ClosedPublic Authored by gchatelet on Feb 10 2023, 5:50 AM.
Details
Summary Let's make sure that we only accept boolean expressions when using likely/unlikely.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 10 2023, 5:50 AM This revision is now accepted and ready to land.Feb 10 2023, 5:53 AM This revision was landed with ongoing or failed builds.Feb 10 2023, 6:02 AM Closed by commit rG4a96893fc5ca: [libc] Fix exp2f and prevent misuse of likely/unlikely (authored by gchatelet). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 496449 libc/src/__support/macros/attributes.h
libc/src/math/generic/exp2f.cpp
|
Shall you use LIBC_INLINE here?