llvm-project/clang/test
Simon Pilgrim 3e50593b18 [X86] Remove `__builtin_ia32_pmax/min` intrinsics and use generic `__builtin_elementwise_max/min`
D111985 added the generic `__builtin_elementwise_max` and `__builtin_elementwise_min` intrinsics with the same integer behaviour as the SSE/AVX instructions

This patch removes the `__builtin_ia32_pmax/min` intrinsics and just uses `__builtin_elementwise_max/min` - the existing tests see no changes:
```
__m256i test_mm256_max_epu32(__m256i a, __m256i b) {
  // CHECK-LABEL: test_mm256_max_epu32
  // CHECK: call <8 x i32> @llvm.umax.v8i32(<8 x i32> %{{.*}}, <8 x i32> %{{.*}})
  return _mm256_max_epu32(a, b);
}
```
This requires us to add a `__v64qs` explicitly signed char vector type (we already have `__v16qs` and `__v32qs`).

Sibling patch to D117791

Differential Revision: https://reviews.llvm.org/D117798
2022-01-24 11:40:29 +00:00
..
APINotes
ARCMT [NFC][clang] Inclusive language: replace masterPort with mainPort 2021-11-18 11:51:06 -06:00
AST Reland (2) "[AST] Add RParen loc for decltype AutoTypeloc."" 2022-01-17 11:33:11 +01:00
ASTMerge [AIX] Disable tests that fail because of no 64-bit XCOFF object file support 2022-01-09 12:25:24 -05:00
Analysis [analyzer] Produce SymbolCast symbols for integral types in SValBuilder::evalCast 2022-01-18 16:08:04 +02:00
CXX [C++20] [Module] fix bug 47716 and implement [module.interface]/p6 2022-01-24 10:25:25 +08:00
ClangScanDeps [clang][deps] Handle symlinks in minimizing FS 2022-01-21 13:04:25 +01:00
CodeCompletion [CodeCompletion] (mostly) fix completion in incomplete C++ ctor initializers. 2022-01-13 08:06:35 +01:00
CodeGen [X86] Remove `__builtin_ia32_pmax/min` intrinsics and use generic `__builtin_elementwise_max/min` 2022-01-24 11:40:29 +00:00
CodeGenCUDA [IRGen] Do not overwrite existing attributes in CGCall. 2022-01-20 13:45:19 +00:00
CodeGenCUDASPIRV [CUDA][SPIRV] Use OpenCLKernel CC for CUDA -> SPIRV 2021-12-06 15:06:57 -08:00
CodeGenCXX [Clang] Separate the 'debug-info-hotpatch' test in two parts: one for ARM and another for AArch64 2022-01-20 14:11:10 -05:00
CodeGenCoroutines [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenHIP [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenObjC [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenObjCXX [IRGen] Do not overwrite existing attributes in CGCall. 2022-01-20 13:45:19 +00:00
CodeGenOpenCL [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenOpenCLCXX [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenSYCL [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
Coverage
CoverageMapping [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
Driver [clang][tests] Fix a c++/libc++ -stdlib value typo 2022-01-24 09:59:20 +01:00
FixIt [Sema] Warn about printf %n on Android and Fuchsia 2022-01-21 21:00:39 +00:00
Format
Frontend [IR] Remove unbounded as possible value for vscale_range minimum 2021-12-07 09:52:21 +00:00
Headers [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
Import Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Index [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
Integration
InterfaceStubs [ifs] Use a tmp file instead of "-" 2022-01-21 11:19:37 -05:00
Interpreter
Layout Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Lexer [Diagnostics] Don't drop a statically set NoWarningAsError flag during option processing 2022-01-10 16:38:01 -08:00
LibClang
Misc [Hexagon] Driver/preprocessor options for Hexagon v69 2021-12-23 10:17:08 -08:00
Modules [clang][sema] Add missing diagnostic parameter 2022-01-24 09:59:20 +01:00
OpenMP [OpenMP] Change default visibility to protected for device declarations 2022-01-20 21:06:26 -05:00
PCH Reland (2) "[AST] Add RParen loc for decltype AutoTypeloc."" 2022-01-17 11:33:11 +01:00
Parser Fix a failed assertion on an invalid typename requirement 2022-01-18 11:59:08 -05:00
ParserSYCL
Preprocessor [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
Profile Resolve lit failures in clang-aarch64* 2022-01-16 23:06:05 +09:00
Refactor
Rewriter [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
Sema [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
SemaCUDA CUDA/HIP: Allow __int128 on the host side 2022-01-04 16:09:26 -08:00
SemaCXX [AIX][ZOS] Handle unsupported builtin function CFStringMakeConstantString 2022-01-17 11:24:16 -05:00
SemaObjC [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
SemaObjCXX Revert "[Sema] check PseudoObject when rebuilding CXXOperatorCallExpr in template instantiation" 2021-12-01 11:18:30 +01:00
SemaOpenCL [OpenCL] Add pure attribute to vload builtins 2021-12-16 18:30:58 +00:00
SemaOpenCLCXX [OpenCL] Allow optional __generic in __remove_address_space utility 2021-12-27 08:39:21 +00:00
SemaSYCL [SYCL] Diagnose uses of zero length arrays 2021-12-29 15:30:18 +03:00
SemaTemplate [Sema] Add test for new errors due to 09f8315bba 2022-01-18 22:18:35 +01:00
TableGen [clang] Introduce support for disabling warnings in system macros 2022-01-12 08:18:19 +00:00
Templight
Tooling [clang-check] Adjust argument adjusters for clang-check to strip options blocking the static analyzer 2022-01-14 10:05:47 +01:00
Unit
VFS [clang] support relative roots to vfs overlays 2022-01-19 10:13:06 -08:00
clang-rename
utils/update_cc_test_checks [IRGen] Do not overwrite existing attributes in CGCall. 2022-01-20 13:45:19 +00:00
.clang-format
CMakeLists.txt Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [AIX] Disable tests that fail because of no 64-bit XCOFF object file support 2022-01-09 12:25:24 -05:00
lit.site.cfg.py.in [clang] Use usual lit pattern for CLANG_DEFAULT_PIE_ON_LINUX and LLVM_WITH_Z3 2021-12-14 21:44:56 -05:00
make_test_dirs.pl