[all-commits] [llvm/llvm-project] fc7198: [clang] Additional FP classification functions (#6...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue Oct 31 22:11:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc7198b799b0f9dc9e27b5ae4334e5c1b1c89b6e
      https://github.com/llvm/llvm-project/commit/fc7198b799b0f9dc9e27b5ae4334e5c1b1c89b6e
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.def
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/Floating.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/AST/Interp/builtin-functions.cpp
    M clang/test/CodeGen/builtins.c
    M clang/test/Sema/constant-builtins-2.c

  Log Message:
  -----------
  [clang] Additional FP classification functions (#69041)

C language standard defined library functions `iszero`, `issignaling`
and `issubnormal`, which did not have counterparts among clang builtin
functions. This change adds new functions:

    __builtin_iszero
    __builtin_issubnormal
    __builtin_issignaling

They provide builtin implementation for the missing standard functions.

Pull request: https://github.com/llvm/llvm-project/pull/69041




More information about the All-commits mailing list