forked from OSchip/llvm-project
fae0dfa642
Currently, we have no front-end type for ppc_fp128 type in IR. PowerPC target generates ppc_fp128 type from long double now, but there's option (-mabi=(ieee|ibm)longdouble) to control it and we're going to do transition from IBM extended double-double ppc_fp128 to IEEE fp128 in the future. This patch adds type __ibm128 which always represents ppc_fp128 in IR, as what GCC did for that type. Without this type in Clang, compilation will fail if compiling against future version of libstdcxx (which uses __ibm128 in headers). Although all operations in backend for __ibm128 is done by software, only PowerPC enables support for it. There's something not implemented in this commit, which can be done in future ones: - Literal suffix for __ibm128 type. w/W is suitable as GCC documented. - __attribute__((mode(IF))) should be for __ibm128. - Complex __ibm128 type. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D93377 |
||
---|---|---|
.. | ||
ARCMigrate.cpp | ||
BuildSystem.cpp | ||
CIndex.cpp | ||
CIndexCXX.cpp | ||
CIndexCodeCompletion.cpp | ||
CIndexDiagnostic.cpp | ||
CIndexDiagnostic.h | ||
CIndexHigh.cpp | ||
CIndexInclusionStack.cpp | ||
CIndexUSRs.cpp | ||
CIndexer.cpp | ||
CIndexer.h | ||
CLog.h | ||
CMakeLists.txt | ||
CXComment.cpp | ||
CXComment.h | ||
CXCompilationDatabase.cpp | ||
CXCursor.cpp | ||
CXCursor.h | ||
CXIndexDataConsumer.cpp | ||
CXIndexDataConsumer.h | ||
CXLoadedDiagnostic.cpp | ||
CXLoadedDiagnostic.h | ||
CXSourceLocation.cpp | ||
CXSourceLocation.h | ||
CXStoredDiagnostic.cpp | ||
CXString.cpp | ||
CXString.h | ||
CXTranslationUnit.h | ||
CXType.cpp | ||
CXType.h | ||
CursorVisitor.h | ||
FatalErrorHandler.cpp | ||
Index_Internal.h | ||
Indexing.cpp | ||
Rewrite.cpp | ||
libclang.map | ||
linker-script-to-export-list.py |