[PATCH] D153339: [clang] Support vectors in __builtin_isfpclass

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 06:33:25 PDT 2023


sepavloff created this revision.
sepavloff added reviewers: rjmccall, aaron.ballman, arsenm, kpn, qiucf, efriedma.
Herald added a project: All.
sepavloff requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: clang.

Builtin function `__builtin_isfpclass` now can be called for a vector
of floating-point values. In this case it is applied to the vector
elementwise and produces vector of boolean values.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153339

Files:
  clang/docs/LanguageExtensions.rst
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/isfpclass.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153339.532892.patch
Type: text/x-patch
Size: 6580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230620/00437cf7/attachment.bin>


More information about the cfe-commits mailing list