[FPEnv] PowerPC-specific builtin constrained FP enablement
authorAndrew Wock <ajwock@gmail.com>
Mon, 22 Jun 2020 16:16:03 +0000 (12:16 -0400)
committerKevin P. Neal <kevin.neal@sas.com>
Thu, 25 Jun 2020 15:42:58 +0000 (11:42 -0400)
commit15edd7aaa7142e5db2a6cf9b81e4514967431824
treea5758cdaa61cdc478522411729c237ea9c4c0c61
parent7f7f8564808b51aa62744edf75c07c0df102056a
[FPEnv] PowerPC-specific builtin constrained FP enablement

This change enables PowerPC compiler builtins to generate constrained
floating point operations when clang is indicated to do so.

A couple of possibly unexpected backend divergences between constrained
floating point and regular behavior are highlighted under the test tag
FIXME-CHECK. This may be something for those on the PPC backend to look
at.

Patch by: Drew Wock <drew.wock@sas.com>

Differential Revision: https://reviews.llvm.org/D82020
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins-ppc-fpconstrained.c [new file with mode: 0644]