[PATCH] D66092: [CodeGen] Generate constrained fp intrinsics depending on FPOptions

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 09:26:07 PDT 2019


sepavloff created this revision.
sepavloff added reviewers: rjmccall, anemet, kpn, aaron.ballman, hfinkel.
Herald added a project: clang.

If the value of FPOption is modified, for example by using pragma
'clang fp', create calls to constrained fp intrinsics with metadata
arguments corresponding to the selected rounding mode and exception
behavior.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66092

Files:
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/test/CodeGen/pragma-fp-2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66092.214646.patch
Type: text/x-patch
Size: 6019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190812/be6dc692/attachment.bin>


More information about the cfe-commits mailing list