llvm-project/clang/test
Craig Topper e091523c82 [X86] Rewrite the max and min reduction intrinsics to make better use of other functions and to reduce width to 256 and 128 bits were possible.
Summary:
We only need to use 512 bit vectors all the way through v8i64 reductions since those max instructions are new to avx512f and only available in 512 bits until SKX.

For v16i32 and floating point we have legacy 128/256 bit instructions we can use.

I've tried to use other intrinsics to reduce the verbosity of the code and avoid having to mention all the shuffles. I've also removed all the -1 shuffle indices so the output sequence is fully specified and not left to backend optimization.

Reviewers: RKSimon, spatel, GBuella

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D47401

llvm-svn: 333347
2018-05-26 18:55:24 +00:00
..
ARCMT [ObjC] Allow declaring __strong pointer fields in structs in Objective-C 2018-02-28 07:15:55 +00:00
ASTMerge [ASTImporter] FriendDecl importing improvements 2018-04-25 17:28:03 +00:00
Analysis [analyzer] Add security checks for bcmp(), bcopy(), bzero(). 2018-05-26 00:04:26 +00:00
CXX Adjust and fix failing CXX tests after r332799 2018-05-19 03:33:56 +00:00
CodeCompletion Optionally add code completion results for arrow instead of dot 2018-05-25 12:56:26 +00:00
CodeGen [X86] Rewrite the max and min reduction intrinsics to make better use of other functions and to reduce width to 256 and 128 bits were possible. 2018-05-26 18:55:24 +00:00
CodeGenCUDA [HIP] Support offloading by linker script 2018-05-18 15:07:56 +00:00
CodeGenCXX Use zeroinitializer for (trailing zero portion of) large array initializers 2018-05-23 23:41:38 +00:00
CodeGenCoroutines [Coroutines] Catch exceptions in await_resume 2018-05-04 14:02:37 +00:00
CodeGenObjC [objc-gnu] Fix test. 2018-05-22 10:13:14 +00:00
CodeGenObjCXX [CodeGen] Avoid destructing a callee-destructued struct type in a 2018-04-27 06:57:00 +00:00
CodeGenOpenCL [AMDGPU] fixes for lds f32 builtins 2018-05-21 16:18:07 +00:00
Coverage [analyzer] Fix filename in cross-file HTML report 2018-05-02 14:26:12 +00:00
CoverageMapping [Coverage] Handle break/continue outside of loop bodies 2018-02-16 07:59:43 +00:00
Driver [x86] invpcid intrinsic 2018-05-25 06:34:42 +00:00
FixIt [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
Format [clang-format] Fix bug where -dump-config failed on ObjC header 2018-01-29 17:36:43 +00:00
Frontend Move test input file into same directory as test. NFC 2018-05-08 00:29:21 +00:00
Headers [X86] NFC Include immintrin.h in CodeGen tests 2018-05-24 07:09:08 +00:00
Import [ASTImporter] Properly import SourceLocations of Attrs 2018-05-08 12:45:21 +00:00
Index [Frontend] Avoid running plugins during code completion parse 2018-05-17 09:21:07 +00:00
Integration
Layout [Sema] Fix incorrect packed aligned structure layout 2018-05-21 14:28:43 +00:00
Lexer Implement P0482R2, support for char8_t type. 2018-05-01 05:02:45 +00:00
Misc [AST][ObjC] Print implicit property expression that only has a setter without crashing 2018-05-23 00:52:20 +00:00
Modules Improve diagnostics for config mismatches with -fmodule-file. 2018-05-24 20:03:51 +00:00
OpenMP [OPENMP, NVPTX] Fixed codegen for orphaned parallel region. 2018-05-25 20:16:03 +00:00
PCH [C++2a] Implement operator<=> CodeGen and ExprConstant 2018-05-07 21:07:10 +00:00
Parser Improve diagonstic for braced-init-list as operand to ?: expression. 2018-05-24 22:02:52 +00:00
Preprocessor [x86] invpcid intrinsic 2018-05-25 06:34:42 +00:00
Profile
Refactor
Rewriter
Sema Follow-up fix for nonnull atomic non-member functions 2018-05-25 17:36:49 +00:00
SemaCUDA [CUDA] Allow "extern __shared__ Foo foo[]" within anon. namespaces. 2018-05-17 16:15:07 +00:00
SemaCXX Use zeroinitializer for (trailing zero portion of) large array initializers 2018-05-23 23:41:38 +00:00
SemaObjC [Sema][ObjC] Do not DiagnoseUseOfDecl in LookupMemberExpr 2018-05-24 01:01:43 +00:00
SemaObjCXX Improve diagnostics and error recovery for template name lookup. 2018-05-11 02:43:08 +00:00
SemaOpenCL [AMDGPU] fixes for lds f32 builtins 2018-05-21 16:18:07 +00:00
SemaOpenCLCXX [OpenCL] Restrict various keywords in OpenCL C++ mode 2018-05-09 13:16:17 +00:00
SemaTemplate [Sema] Fix assertion when constructor is disabled with partially specialized template. 2018-05-16 18:28:58 +00:00
TableGen [Clang Tablegen][RFC] Allow Early Textual Substitutions in `Diagnostic` messages. 2018-05-19 03:12:04 +00:00
Templight [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
Tooling Fix test clang-diff-json.cpp 2018-02-10 21:28:55 +00:00
Unit
VFS [vfs] Don't bail out after a missing -ivfsoverlay file 2018-03-23 17:37:27 +00:00
clang-rename
.clang-format
CMakeLists.txt [ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK 2018-02-14 22:41:15 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Clang Tablegen][RFC] Allow Early Textual Substitutions in `Diagnostic` messages. 2018-05-19 03:12:04 +00:00
lit.site.cfg.py.in Remove unused lit setting, see https://reviews.llvm.org/D46619 2018-05-09 12:38:51 +00:00
make_test_dirs.pl