[PATCH] D82020: PowerPC-specific builtin constrained FP enablement

Andrew J Wock via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 17 09:08:50 PDT 2020


ajwock created this revision.
ajwock added reviewers: kpn, cameron.mcinally, spatel, hfinkel, nemanjai, kbarton.
Herald added subscribers: cfe-commits, steven.zhang, shchenz.
Herald added a project: clang.
ajwock added a reviewer: steven.zhang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82020

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/builtins-ppc-fpconstrained.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82020.271380.patch
Type: text/x-patch
Size: 15883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200617/598c67f5/attachment-0001.bin>


More information about the cfe-commits mailing list