[PATCH] [complex] Teach Clang to preserve different-type operands to arithmeticoperators where one type is a C complex type, and to emit both the efficientand correct implementation for complex arithmetic according to C11 AnnexG using this extra...

Chandler Carruth chandlerc at gmail.com
Thu Oct 9 16:03:24 PDT 2014


On Thu, Oct 9, 2014 at 3:56 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> I'd like to see some added tests for constant folding here.


Very sorry, I hadn't tested or even really thought about the constant
folding because I knew based on our prior conversation that it would need
to be completely rewritten. I'll post an update with that rewrite shortly,
and I suspect it will resolve most of these comments (and probably more).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141009/b7e97201/attachment.html>


More information about the cfe-commits mailing list