Go to file
Meador Inge b97878a235 CodeGen: Expand creal and cimag into complex field loads
PR 14529 was opened because neither Clang or LLVM was expanding
calls to creal* or cimag* into instructions that just load the
respective complex field.  After some discussion, it was not
considered realistic to do this in LLVM because of the platform
specific way complex types are expanded.  Thus a way to solve
this in Clang was pursued.  GCC does a similar expansion.

This patch adds the feature to Clang by making the creal* and
cimag* functions library builtins and modifying the builtin code
generator to look for the new builtin types.

llvm-svn: 170455
2012-12-18 20:58:04 +00:00
clang CodeGen: Expand creal and cimag into complex field loads 2012-12-18 20:58:04 +00:00
clang-tools-extra Use renamed CommonOptionsParser member functions 2012-12-14 18:59:24 +00:00
compiler-rt [sanitizer] fix LargeMmapAllocator::GetBlockBegin 2012-12-18 14:56:38 +00:00
debuginfo-tests XTARGET was removed, update debug-info tests. 2012-10-20 01:38:50 +00:00
libclc Fix build against recent versions of Clang. Based on patch by Alastair Donaldson! 2012-12-05 07:39:02 +00:00
libcxx Added static_assert to std::get<N>(std::array) calls to catch "out of bounds" calls 2012-12-18 16:46:30 +00:00
libcxxabi Rename class __lambda_node to ___lambda_node to fix compile failure with gcc 4.6 and 4.7 2012-12-05 18:55:49 +00:00
lld [CMake] Fix external llvm build. It needs to know where llvm-tblgen is. 2012-12-10 23:52:34 +00:00
lldb Fix typo in error message (print requested URL instead of command name when plugin missing) 2012-12-18 20:00:40 +00:00
llvm MISched: add dependence to ExitSU to model live-out latency. 2012-12-18 20:53:01 +00:00
polly return -1 when polly::getNumberOfIterations returns -1 2012-12-18 08:56:51 +00:00