[PATCH] D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL

Pirama Arumuga Nainar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 10:20:50 PDT 2017


pirama added a comment.

It looks like all architectures that Clang supports have denorm support.  AFAICT, none of them have the "indeterminable" behavior.  So it seems safe to define these macros here.

@bruno The test lib/Headers/darwin.c will now pass even if the include_next for Darwin fails.  If there are more definitions in the Darwin float.h, I can update to test that definition instead of FLT_HAS_SUBNORM.


https://reviews.llvm.org/D37302





More information about the llvm-commits mailing list