[PATCH] D155369: [clang][Interp] Implement __builtin_isnan()

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 15 06:30:13 PDT 2023


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, shafik, cor3ntin.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Add a way to pop arguments based on the call expression instead of the function and use that.

`clang/test/Sema/constant-builtins-fmin.cpp` is the promised test form the other reviews.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155369

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155369.540681.patch
Type: text/x-patch
Size: 4593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230715/002c1d63/attachment.bin>


More information about the cfe-commits mailing list