[all-commits] [llvm/llvm-project] 408bb4: [libc] Wrong guards for `totalorderbf16` and `tota...

Zorojuro via All-commits all-commits at lists.llvm.org
Tue Mar 24 17:54:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 408bb4d4b22bbd255eb0b4ea65b9c9d18bf55979
      https://github.com/llvm/llvm-project/commit/408bb4d4b22bbd255eb0b4ea65b9c9d18bf55979
  Author: Zorojuro <sawantsukumar at gmail.com>
  Date:   2026-03-24 (Tue, 24 Mar 2026)

  Changed paths:
    M libc/src/math/totalorderbf16.h
    M libc/src/math/totalordermagbf16.h

  Log Message:
  -----------
  [libc] Wrong guards for `totalorderbf16` and `totalordermagbf16` (#188241)

Currently the guards for `totalorderbf16` and `totalordermagbf16` are as
follows:
```
#ifndef LLVM_LIBC_SRC_MATH_TOTALORDERMAGF16_H
#define LLVM_LIBC_SRC_MATH_TOTALORDERMAGF16_H
-
#endif // LLVM_LIBC_SRC_MATH_TOTALORDERMAGF16_H
```
and 
```
#ifndef LLVM_LIBC_SRC_MATH_TOTALORDERF16_H
#define LLVM_LIBC_SRC_MATH_TOTALORDERF16_H
-
#endif // LLVM_LIBC_SRC_MATH_TOTALORDERF16_H
```
As we can see these are for F16 and not BF16 .
This Pr intends to fix that with correct guards as `TOTALORDERBF16` and
`TOTALORDERMAGBF16`



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