[PATCH] D94186: [FPEnv][PowerPC] Platform builtins edition: clang should get from the AST the metadata for constrained FP builtins

Kevin P. Neal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 6 11:53:14 PST 2021


kpn created this revision.
kpn added reviewers: steven.zhang, nemanjai.
kpn added a project: clang.
Herald added subscribers: shchenz, kbarton.
kpn requested review of this revision.
Herald added a subscriber: cfe-commits.

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

For previous work in this vein see D92122 <https://reviews.llvm.org/D92122> for example.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94186

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94186.314954.patch
Type: text/x-patch
Size: 10839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210106/5a293d3b/attachment.bin>


More information about the cfe-commits mailing list