[PATCH] D155356: [clang][Interp] Implement __builtin_nan family of functions

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 14 23:03:30 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.

One existing problem is that we can't do much with the values since comparing with nans is broken ATM and I don't want to make this patch depend on the `__builtin_bit_cast` patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155356

Files:
  clang/lib/AST/Interp/InterpBuiltin.cpp
  clang/test/AST/Interp/builtin-functions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155356.540643.patch
Type: text/x-patch
Size: 5147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230715/36820bd1/attachment.bin>


More information about the cfe-commits mailing list