[PATCH] D158238: Implement __builtin_fmaximum/fminimum*

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 12:02:48 PDT 2023


tra created this revision.
Herald added a subscriber: bixia.
Herald added a project: All.
tra updated this revision to Diff 551336.
tra added a comment.
tra updated this revision to Diff 551338.
tra published this revision for review.
tra added a reviewer: fhahn.
Herald added subscribers: cfe-commits, StephenFan.
Herald added a project: clang.

formatting cleanup


tra added a comment.

clang-formatted new tests.


The builtins provide FP min/max conforming to IEEE754-2018 standard.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158238

Files:
  clang/include/clang/Basic/Builtins.def
  clang/lib/AST/ExprConstant.cpp
  clang/lib/AST/Interp/InterpBuiltin.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/builtins.c
  clang/test/CodeGen/math-builtins.c
  clang/test/Sema/constant-builtins-fmaximum.cpp
  clang/test/Sema/constant-builtins-fminimum.cpp
  clang/test/Sema/overloaded-math-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158238.551338.patch
Type: text/x-patch
Size: 19852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230818/c0570a8d/attachment-0001.bin>


More information about the cfe-commits mailing list