[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
Fri Oct 10 18:07:39 PDT 2014


Closed by commit rL219557 (authored by @chandlerc).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D5698

Files:
  cfe/trunk/lib/AST/ExprConstant.cpp
  cfe/trunk/lib/CodeGen/CGExprComplex.cpp
  cfe/trunk/lib/Sema/SemaExpr.cpp
  cfe/trunk/test/CodeGen/complex-math.c
  cfe/trunk/test/SemaCXX/complex-folding.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5698.14762.patch
Type: text/x-patch
Size: 43327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141011/55668652/attachment.bin>


More information about the cfe-commits mailing list