llvm-project/clang/test
Stefan Pintilie 90dfd05919 [Clang] Add option to handle behaviour of vector bool/vector pixel.
Added the option `-altivec-src-compat=[mixed,gcc,xl]`. The default at this time is `mixed`.

The default behavior for clang is for all vector compares to return a scalar unless the vectors being
compared are vector bool or vector pixel. In that case the compare returns a
vector. With the gcc case all vector compares return vectors and in the xl case
all vector compares return scalars.

This patch does not change the default behavior of clang.

This option will be used in future patches to implement behaviour compatibility for the vector bool/pixel types.

Reviewed By: bmahjour

Differential Revision: https://reviews.llvm.org/D103615
2021-06-29 14:07:12 -05:00
..
APINotes
ARCMT
AST Revert "[clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens" 2021-06-28 12:42:59 -04:00
ASTMerge
Analysis Revert "[Analyzer][solver] Add dump methods for (dis)equality classes." 2021-06-28 11:32:57 -04:00
CXX [clang] Stop providing builtin overload candidate for relational function pointer comparisons 2021-06-26 00:08:02 +02:00
ClangScanDeps [clang][deps] NFC: Fix an XFAIL test on Windows 2021-06-14 14:37:26 +02:00
CodeCompletion [clang][PreProcessor] Cutoff parsing after hitting completion point 2021-05-10 11:24:27 +02:00
CodeGen [Clang] Add option to handle behaviour of vector bool/vector pixel. 2021-06-29 14:07:12 -05:00
CodeGenCUDA [Clang] [NFC] fix CHECK lines for convergent attribute tests 2021-06-29 00:21:07 +05:30
CodeGenCXX [CodeGen] Don't create fake FunctionDecls when generating block/byref 2021-06-24 11:45:52 -07:00
CodeGenCoroutines [Coroutines] Remove CoroElide from O0 pipeline 2021-06-28 19:28:27 -07:00
CodeGenHIP
CodeGenObjC [CodeGen] Don't create fake FunctionDecls when generating block/byref 2021-06-24 11:45:52 -07:00
CodeGenObjCXX [ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if 2021-06-29 10:23:01 -07:00
CodeGenOpenCL [OpenCL] Use DW_LANG_OpenCL language tag for OpenCL C 2021-06-25 11:48:42 +01:00
CodeGenOpenCLCXX [OpenCL] Fix overloading resolution of addrspace constructors 2021-06-11 11:12:33 +01:00
CodeGenSYCL [SYCL] Fix __builtin_sycl_unique_stable_name to work on windows/spir 2021-06-02 13:16:14 -07:00
Coverage
CoverageMapping [clang] remove an incremental build workaround 2021-05-05 12:21:56 -04:00
Driver [X86] Add -mgeneral-regs-only support. 2021-06-29 16:02:51 +08:00
FixIt [clang] Stop providing builtin overload candidate for relational function pointer comparisons 2021-06-26 00:08:02 +02:00
Format Remove redundant test that was causing intermittent build bot failures. 2021-06-15 12:46:03 -07:00
Frontend Improve clang -Wframe-larger-than= diagnostic 2021-06-22 11:20:49 -07:00
Headers AST: Create __va_list in the std namespace even in C. 2021-06-23 18:59:10 -07:00
Import
Index [clang] RecursiveASTVisitor visits ObjCPropertyRefExpr's class receiver 2021-06-01 14:45:25 -04:00
Integration XFAIL thinlto testcases on AIX 2021-04-26 17:02:06 +00:00
InterfaceStubs
Interpreter [AIX][clang-repl][test] Mark unsupported pending XCOFF64 integrated-as 2021-05-15 22:41:45 -04:00
Layout [clang] Add cc1 option for dumping layout for all complete types 2021-06-22 16:27:26 -04:00
Lexer [clang] add C++ feature test macro for P2266 simpler implicit move 2021-06-26 23:05:23 +02:00
Misc [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
Modules [clang][modules][pch] Allow loading PCH with different modules cache path 2021-06-14 11:04:56 +02:00
OpenMP [OpenMP] Add Module metadata for OpenMP compilation 2021-06-25 16:34:19 -04:00
PCH [clang] Fix ternary operator in the second for loop statement 2021-05-16 10:42:52 -07:00
Parser [clang] Stop providing builtin overload candidate for relational function pointer comparisons 2021-06-26 00:08:02 +02:00
ParserSYCL Reimplement __builtin_unique_stable_name- 2021-05-27 07:12:20 -07:00
Preprocessor [AIX][PowerPC] Remove error when specifying mabi=vec-default on AIX 2021-06-23 07:40:38 -04:00
Profile Revert test fixups after e9a9c85098 (which reverted a14fc74). 2021-06-04 10:42:25 -04:00
Refactor
Rewriter
Sema Revert "[clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens" 2021-06-28 12:42:59 -04:00
SemaCUDA [HIP] Defer operator overloading errors 2021-06-23 23:39:59 -04:00
SemaCXX [C++20] Support for lambdas in unevaluated context 2021-06-28 09:01:56 -04:00
SemaObjC [clang][ObjC] allow the use of NSAttributedString * argument type with format attribute 2021-06-11 13:24:32 -07:00
SemaObjCXX [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
SemaOpenCL [OpenCL] Add support of __opencl_c_images feature macro 2021-06-21 18:24:07 +03:00
SemaOpenCLCXX [OpenCL] Fix overloading resolution of addrspace constructors 2021-06-11 11:12:33 +01:00
SemaSYCL Replace 'magic static' with a member variable for SCYL kernel names 2021-05-27 13:46:31 -07:00
SemaTemplate Print default template argument if manually specified in typedef declaration. 2021-06-29 14:57:26 +00:00
TableGen
Templight
Tooling
Unit
VFS [clang] Don't crash when loading invalid VFS for the module dep collector 2021-04-26 17:05:22 -07:00
clang-rename
utils/update_cc_test_checks [UpdateCCTestChecks] Fix new test from 9eaf0d120d 2021-06-25 14:29:58 -04:00
.clang-format
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
lit.site.cfg.py.in [clang] Make fewer assumptions about path to lit.site.cfg after 9eaf0d120d 2021-06-25 14:01:29 -04:00
make_test_dirs.pl