[PATCH] D105984: [PowerPC] Vec Div Builtins Restore FMF of Builder
Quinn Pham via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 14 07:38:02 PDT 2021
quinnp created this revision.
Herald added subscribers: shchenz, kbarton, nemanjai.
quinnp requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch fixes `__builtin_ppc_recipdivf`, `__builtin_ppc_recipdivd`,
`__builtin_ppc_rsqrtf`, and `__builtin_ppc_rsqrtd`. FastMathFlags are
set to fast immediately before emitting these builtins. Now the flags
are restored to their previous values after the builtins are emitted.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D105984
Files:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins-ppc-fastmath.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105984.358601.patch
Type: text/x-patch
Size: 5084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210714/80b8e878/attachment-0001.bin>
More information about the cfe-commits
mailing list