llvm-project/clang/test
Sven van Haastregt 4700faa28e [OpenCL] Add separate read_only and write_only pipe IR types
SPIR-V encodes the read_only and write_only access qualifiers of pipes,
so separate LLVM IR types are required to target SPIR-V.  Other backends
may also find this useful.

These new types are `opencl.pipe_ro_t` and `opencl.pipe_wo_t`, which
replace `opencl.pipe_t`.

This replaces __get_pipe_num_packets(...) and __get_pipe_max_packets(...)
which took a read_only pipe with separate versions for read_only and
write_only pipes, namely:

 * __get_pipe_num_packets_ro(...)
 * __get_pipe_num_packets_wo(...)
 * __get_pipe_max_packets_ro(...)
 * __get_pipe_max_packets_wo(...)

These separate versions exist to avoid needing a bitcast to one of the
two qualified pipe types.

Patch by Stuart Brady.

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

llvm-svn: 331026
2018-04-27 10:37:04 +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] Fix operator delete[] array-type-sub-expression handling. 2018-04-27 02:16:03 +00:00
CXX Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00
CodeCompletion [CodeComplete] Fix completion in the middle of ident in ctor lists. 2018-04-25 15:13:34 +00:00
CodeGen [x86] Revert r330322 (& r330323): Lowering x86 adds/addus/subs/subus intrinsics 2018-04-26 21:46:01 +00:00
CodeGenCUDA Fix failure in lit test kernel-call.cu due to name mangling 2018-04-25 13:07:58 +00:00
CodeGenCXX [CodeGen] Avoid destructing a callee-destructued struct type in a 2018-04-27 06:57:00 +00:00
CodeGenCoroutines [coroutines] Add __builtin_coro_noop => llvm.coro.noop 2018-04-02 17:35:37 +00:00
CodeGenObjC [CodeGen] Fix a crash that occurs when a non-trivial C struct with a 2018-04-16 20:23:52 +00:00
CodeGenObjCXX [CodeGen] Avoid destructing a callee-destructued struct type in a 2018-04-27 06:57:00 +00:00
CodeGenOpenCL [OpenCL] Add separate read_only and write_only pipe IR types 2018-04-27 10:37:04 +00:00
Coverage
CoverageMapping [Coverage] Handle break/continue outside of loop bodies 2018-02-16 07:59:43 +00:00
Driver [Driver] Don't enable "-fregister-global-dtors-with-atexit" by default 2018-04-27 01:42:33 +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 Improve checks in test/Frontend/ftime-report-template-decl.cpp 2018-04-23 18:05:35 +00:00
Headers Fix typos in clang 2018-04-06 15:14:32 +00:00
Import [ASTImporter] Support LambdaExprs and improve template support 2018-01-26 11:36:54 +00:00
Index [OpenCL] Add separate read_only and write_only pipe IR types 2018-04-27 10:37:04 +00:00
Integration
Layout DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00
Lexer hwasan: add -fsanitize=kernel-hwaddress flag 2018-04-13 18:05:21 +00:00
Misc Add tests for llvm-bcanalyzer stream types 2018-04-22 00:04:35 +00:00
Modules [ODRHash] Hash template arguments of methods. 2018-04-25 00:31:15 +00:00
OpenMP [OPENMP] Do not cast captured by value variables with pointer types in 2018-04-23 17:33:41 +00:00
PCH Add tests for llvm-bcanalyzer stream types 2018-04-22 00:04:35 +00:00
Parser Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00
Preprocessor [HIP] Add predefined macros __HIPCC__ and __HIP_DEVICE_COMPILE__ 2018-04-25 13:33:19 +00:00
Profile [PGO] Detect more structural changes with the stable hash 2017-11-14 23:56:53 +00:00
Refactor [refactor][extract] avoid extracting expressions from types in functions 2017-11-14 18:59:01 +00:00
Rewriter
Sema [X86] Make __builtin_ia32_readeflags_u32 and __builtin_ia32_writeeflags_u32 only available on 32-bit targets. 2018-04-26 20:14:46 +00:00
SemaCUDA Fix typos in clang 2018-04-06 15:14:32 +00:00
SemaCXX Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00
SemaObjC [Sema] Warn about memcpy'ing non-trivial C structs. 2018-04-17 19:13:41 +00:00
SemaObjCXX [Sema][ObjC] Ensure that the return type of an ObjC method is a complete 2018-04-12 06:01:41 +00:00
SemaOpenCL [OpenCL] Add "cles_khr_int64" extension. 2018-01-26 11:48:46 +00:00
SemaTemplate Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00
TableGen TableGen: Give up on exact fixits for diagnostic groups 2018-03-06 17:55:00 +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 [lit] Set shlibpath_var on Solaris 2017-11-27 13:33:19 +00:00
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 [debuginfo] Remove temporary FIXME. 2017-12-14 22:12:46 +00:00
lit.site.cfg.py.in
make_test_dirs.pl