llvm-project/clang/lib
Nemanja Ivanovic 19b29b1ed1 [PowerPC] Provide XL-compatible builtins in altivec.h
There are some interfaces in altivec.h that are not compatible
between Clang and XL (although Clang is compatible with GCC).
Currently, we have found 3 but there may be others.

Clang/GCC signatures:

vector double vec_ctf(vector signed long long)
vector double vec_ctf(vector unsigned long long)
vector signed long long vec_cts(vector double)
vector unsigned long long vec_ctu(vector double)

XL signatures:

vector float vec_ctf(vector signed long long)
vector float vec_ctf(vector unsigned long long)
vector signed int vec_cts(vector double)
vector unsigned int vec_ctu(vector double)

This patch provides the XL behaviour under the __XL_COMPAT_ALTIVEC__
macro for users that rely on XL behaviour.

Differential revision: https://reviews.llvm.org/D101130
2021-04-23 15:13:46 -05:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
AST [clang-tidy] Add check for implicit widening of multiplication result 2021-04-13 21:41:22 +03:00
ASTMatchers [ASTMatchers] Add `cxxBaseSpecifier` matcher (non-top-level) 2021-04-09 00:05:36 +01:00
Analysis [-Wcompletion-handler] Don't recognize init methods as conventional 2021-04-07 13:50:01 +03:00
Basic [NFC] Remove reference to file deleted by D100981. 2021-04-22 10:40:18 -07:00
CodeGen [OpenMP] Fix -Wdeprecated-copy 2021-04-23 10:49:19 -07:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver Reapply "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed" 2021-04-23 01:07:16 +01:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format clang-format: [JS] do not merge side-effect imports. 2021-04-22 10:36:47 +02:00
Frontend [clang][cli] NFC: Move conditional LangOptions parsing/generation 2021-04-19 11:25:40 +02:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [PowerPC] Provide XL-compatible builtins in altivec.h 2021-04-23 15:13:46 -05:00
Index [index] Improve macro indexing support 2021-04-06 09:12:14 -07:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex [C++2b] Support size_t literals 2021-03-31 13:36:23 +00:00
Parse [clang][parser] Unify rejecting (non) decl stmts with gnu attributes 2021-04-19 12:43:55 +02:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [Clang] Allow the combination of loader_uninitialized and address spaces 2021-04-23 11:21:52 -05:00
Serialization [ASTReader] Only mark module out of date if not already compiled 2021-04-16 17:57:03 -07:00
StaticAnalyzer [Analyzer][StdLibraryFunctionsChecker] Describe arg constraints 2021-04-23 17:27:54 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [AST] Sort introspection results without instantiating other data 2021-04-23 16:21:01 +01:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00