llvm-project/clang/test
Matt Arsenault 88d7da01ca AMDGPU: Handle structs directly in AMDGPUABIInfo
Structs are currently handled as pointer + byval, which makes AMDGPU
LLVM backend generate incorrect code when structs are used. This patch
changes struct argument to be handled directly and without flattening,
which Clover (Mesa 3D Gallium OpenCL state tracker) will be able to
handle. Flattening would expand the struct to individual elements and
pass each as a separate argument, which Clover can not
handle. Furthermore, such expansion does not fit the OpenCL
programming model which requires to explicitely specify each argument
index, size and memory location.

Patch by Vedran Miletić

llvm-svn: 279463
2016-08-22 19:25:59 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge When importing classes and structs with anonymous structs, it is critical that 2016-07-14 19:53:44 +00:00
Analysis Reapply "[analyzer] Added valist related checkers." 2016-08-22 11:21:30 +00:00
CXX PR28978: If we need overload resolution for the move constructor of an 2016-08-16 00:13:47 +00:00
CodeCompletion Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
CodeGen Revert "[X86] Add xgetbv/x[X86] Add xgetbv xsetbv intrinsics to non-windows platforms" 2016-08-16 16:04:14 +00:00
CodeGenCUDA [CUDA] Raise an error if a wrong-side call is codegen'ed. 2016-08-15 23:00:49 +00:00
CodeGenCXX PR29086: DebugInfo: Improve support for fixed array dimensions in variable length arrays 2016-08-22 17:49:56 +00:00
CodeGenObjC CodeGen: try harder to make the CFString structure RW 2016-07-29 19:15:51 +00:00
CodeGenObjCXX [CodeGen][ObjC] Fix infinite recursion in getObjCEncodingForTypeImpl. 2016-08-17 19:42:22 +00:00
CodeGenOpenCL AMDGPU: Handle structs directly in AMDGPUABIInfo 2016-08-22 19:25:59 +00:00
Coverage
CoverageMapping [Coverage] Do not write out coverage mappings with zero entries 2016-07-26 00:24:59 +00:00
Driver [CUDA] Collapsed offload actions should not be top-level jobs. 2016-08-22 18:50:34 +00:00
FixIt ObjC Class Property: diagnostics when accessing a class property using instance. 2016-06-28 23:01:49 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend test/Frontend: Add a test for aarch64 target CPU names. 2016-07-27 22:47:07 +00:00
Headers Revert "[X86] Add xgetbv/x[X86] Add xgetbv xsetbv intrinsics to non-windows platforms" 2016-08-16 16:04:14 +00:00
Index [index] Fix crash with indexing designated init expressions inside templates. 2016-08-03 05:38:53 +00:00
Integration
Layout [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
Lexer Add -fmodules-ts flag to cc1 for the provisional C++ modules TS, and mark 2016-07-23 02:32:21 +00:00
Misc [OpenCL] AMDGPU: add support of cl_khr_subgroups 2016-08-17 20:39:49 +00:00
Modules clang/test/Modules/prebuilt-module.m: Prune "-triple" to fix a configuration mismatch. 2016-08-19 05:25:26 +00:00
OpenMP Revert "[OpenMP] Sema and parsing for 'teams distribute simd’ pragma" 2016-08-18 09:25:07 +00:00
PCH P0217R3: serialization/deserialization support for c++17 decomposition declarations. 2016-08-12 02:21:25 +00:00
Parser C++ Modules TS: support parsing the 'module' declaration (including extensions 2016-08-19 01:43:06 +00:00
Preprocessor [CUDA] Updated CUDA tests that must run w/o CUDA installation. 2016-08-02 23:43:04 +00:00
Profile [Profile] Enable profile merging with -fprofile-generat[=<dir>] 2016-07-22 22:25:01 +00:00
Rewriter
Sema [Sema] Don't crash on scanf on forward-declared enums. 2016-08-20 16:51:33 +00:00
SemaCUDA [CUDA] Fix "declared here" note on deferred wrong-side errors. 2016-08-16 00:48:21 +00:00
SemaCXX PR28423: Compare primary declaration contexts. 2016-08-20 14:50:22 +00:00
SemaObjC [ObjC] Warn on unguarded use of partial declaration 2016-08-16 17:44:11 +00:00
SemaObjCXX Sema: support __declspec(dll*) on ObjC interfaces 2016-07-15 20:41:10 +00:00
SemaOpenCL [OpenCL] AMDGPU: add support of cl_khr_subgroups 2016-08-17 20:39:49 +00:00
SemaTemplate Add test missed from r278983. 2016-08-17 21:42:10 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS Reapply [VFS] Skip non existent files from the VFS tree 2016-08-12 18:18:24 +00:00
.clang-format
CMakeLists.txt Re-apply "test: Use add_lit_testsuites so that subsets of tests can be specified" 2016-07-05 17:54:40 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Port some more debug info tests on Windows 2016-06-30 17:41:27 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
make_test_dirs.pl