[PATCH] D94614: [FPEnv][X86] 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 13 10:04:43 PST 2021


kpn created this revision.
kpn added reviewers: craig.topper, andrew.w.kaylor.
kpn added a project: clang.
Herald added a subscriber: pengfei.
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 X86 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/D94614

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/X86/avx-builtins-constrained-cmp.c
  clang/test/CodeGen/X86/avx512dq-builtins-constrained.c
  clang/test/CodeGen/X86/avx512f-builtins-constrained.c
  clang/test/CodeGen/X86/fma-builtins-constrained.c
  clang/test/CodeGen/X86/sse-builtins-constrained.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94614.316438.patch
Type: text/x-patch
Size: 35042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210113/6d3884ea/attachment-0001.bin>


More information about the cfe-commits mailing list