[all-commits] [llvm/llvm-project] ff80fc: [clang][Interp] Implement __builtin_isnan()

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Jul 29 01:48:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff80fc0ea2f9ec043d679f343c875bdf43e1395e
      https://github.com/llvm/llvm-project/commit/ff80fc0ea2f9ec043d679f343c875bdf43e1395e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-07-29 (Sat, 29 Jul 2023)

  Changed paths:
    M clang/lib/AST/Interp/Function.cpp
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/test/Sema/constant-builtins-fmin.cpp

  Log Message:
  -----------
  [clang][Interp] Implement __builtin_isnan()

The previous version was using llvm::reverse(CallExpr::arguments()),
which causes problems when clang is compiled with GCC.

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




More information about the All-commits mailing list