[FPEnv] clang should get from the AST the metadata for constrained FP builtins
authorKevin P. Neal <kevin.neal@sas.com>
Mon, 30 Nov 2020 16:56:38 +0000 (11:56 -0500)
committerKevin P. Neal <kevin.neal@sas.com>
Mon, 30 Nov 2020 16:59:37 +0000 (11:59 -0500)
commitabfbc5579bd4507ae286d4f29f8a157de0629372
treebc774091a2b66c5abc2db81010710a67512edd5e
parent70eb2ce395be1fe39ceede6719aa667658d1e5a3
[FPEnv] clang should get from the AST the metadata for constrained FP builtins

Currently clang is not correctly retrieving from the AST the metadata for
constrained FP builtins. This patch fixes that for the non-target specific
builtins.

Differential Revision: https://reviews.llvm.org/D92122
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtin_float_strictfp.c
clang/test/CodeGen/constrained-math-builtins.c
clang/test/CodeGen/strictfp_fpclassify.c [new file with mode: 0644]