[PATCH] D40299: [Complex] Don't use __div?c3 when building with fast-math.

Paul Walker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 21 05:41:51 PST 2017


paulwalker-arm created this revision.

Plant an inline version of "((ac+bd)/(cc+dd)) + i((bc-ad)/(cc+dd))" instead.


https://reviews.llvm.org/D40299

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40299.123772.patch
Type: text/x-patch
Size: 4975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171121/84f02fd9/attachment.bin>


More information about the cfe-commits mailing list