[PATCH] D141765: [FPEnv] Fix complex operations in strictfp mode

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 14 07:43:52 PST 2023


sepavloff created this revision.
sepavloff added reviewers: rjmccall, kpn, aaron.ballman.
Herald added a project: All.
sepavloff requested review of this revision.
Herald added a project: clang.

Operations on floating-point complex data had incorrect FP attributes
in strictfp mode, because IRBuilder object was not synchronized with AST
node attributes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141765

Files:
  clang/lib/CodeGen/CGExprComplex.cpp
  clang/test/CodeGen/complex-strictfp.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141765.489251.patch
Type: text/x-patch
Size: 7570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230114/01851f13/attachment.bin>


More information about the cfe-commits mailing list