]> granicus.if.org Git - clang/commit
[complex] Use the much more powerful EmitCall routine to call libcalls
authorChandler Carruth <chandlerc@gmail.com>
Sat, 11 Oct 2014 09:24:41 +0000 (09:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 11 Oct 2014 09:24:41 +0000 (09:24 +0000)
commit1f5a93b71cdfd574330526f2b12ba8943caa8dd8
treec30076aac6719757a2c55e7498af2b6655c075b2
parent3fa42e8f26195c62e1e7953b2ffee0aaa57cad51
[complex] Use the much more powerful EmitCall routine to call libcalls
for complex math.

This should fix the windows build bots that started having trouble here
and generally fix complex libcall emission on targets which use sret for
complex data types. It also makes the code a bit simpler (despite
calling into a much more complex bucket of code).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprComplex.cpp
test/CodeGen/complex-math.c