[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 05:26:57 PDT 2014


Address Richard's comments.

http://reviews.llvm.org/D5698

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


More information about the cfe-commits mailing list