llvm-project/clang/test
Sameer Sahasrabuddhe ed181efa17 [HIP][AMDGPU] expand printf when compiling HIP to AMDGPU
Summary:
This change implements the expansion in two parts:
- Add a utility function emitAMDGPUPrintfCall() in LLVM.
- Invoke the above function from Clang CodeGen, when processing a HIP
  program for the AMDGPU target.

The printf expansion has undefined behaviour if the format string is
not a compile-time constant. As a sufficient condition, the HIP
ToolChain now emits -Werror=format-nonliteral.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D71365
2020-01-16 15:15:38 +05:30
..
ARCMT
AST Disallow an empty string literal in an asm label 2020-01-08 08:38:02 -05:00
ASTMerge
Analysis [analyzer] Fix SARIF column locations 2020-01-14 15:38:30 -05:00
CXX PR44540: Prefer an inherited default constructor over an initializer 2020-01-14 19:29:50 -08:00
ClangScanDeps Revert "[clang][clang-scan-deps] Aggregate the full dependency information." 2019-12-11 16:35:55 -08:00
CodeCompletion [CodeComplete] Suggest 'return nullptr' in functions returning pointers 2020-01-10 13:28:13 +01:00
CodeGen Revert "Allow system header to provide their own implementation of some builtin" 2020-01-15 15:03:45 -08:00
CodeGenCUDA [HIP] Add option --gpu-max-threads-per-block=n 2020-01-07 11:18:00 -05:00
CodeGenCXX [DebugInfo] Add option to clang to limit debug info that is emitted for classes. 2020-01-14 12:40:21 -08:00
CodeGenCoroutines
CodeGenHIP [HIP][AMDGPU] expand printf when compiling HIP to AMDGPU 2020-01-16 15:15:38 +05:30
CodeGenObjC Relax the rules around objc_alloc and objc_alloc_init optimizations. 2020-01-14 19:48:33 -08:00
CodeGenObjCXX Debug Info: Strengthen the synthesized-property-cleanup.mm test, NFC 2019-12-10 13:39:22 -08:00
CodeGenOpenCL [OpenCL] Fix mangling of single-overload builtins 2019-12-03 11:09:16 +00:00
CodeGenOpenCLCXX [OpenCL] Add ExtVectorElementExpr constant evaluation (PR42387) 2019-12-17 11:10:06 +00:00
Coverage
CoverageMapping Revert "[Coverage] Revise format to reduce binary size" 2019-12-04 10:35:14 -08:00
Driver [HIP][AMDGPU] expand printf when compiling HIP to AMDGPU 2020-01-16 15:15:38 +05:30
FixIt
Format
Frontend [clang][test][NFC] Use more widely supported sanitizer for file dependency tests 2020-01-14 12:55:11 -08:00
Headers PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer. 2020-01-15 13:14:57 -08:00
Import Tighten up CHECK lines added in a9f10ebffa to work on ARM. 2019-12-05 18:35:08 -08:00
Index [OpenCL] Pretty print __private addr space 2019-12-27 13:42:07 +00:00
Integration
InterfaceStubs try to fix InterfaceStubs/lambda.cpp on Windows after bd8c8827d9 2020-01-13 21:22:46 -05:00
Layout
Lexer Fix crash on init-capture packs where the type of the initializer is non-dependent. 2019-12-19 15:20:10 -08:00
Misc Remove umask tests 2020-01-10 21:05:59 -05:00
Modules [ODRHash] Fix wrong error message with bitfields and mutable. 2020-01-14 21:12:15 -08:00
OpenMP [OPENMP]Use regular processing of vtable used when TU is a prefix. 2020-01-15 18:42:23 -05:00
PCH Fix up ms-pch-macro.c test to pass on non-Windows 2020-01-14 22:19:30 -08:00
Parser [Concepts] Type Constraints 2020-01-15 04:02:39 +02:00
Preprocessor [Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using -fdollars-in-identifiers flag. 2020-01-15 11:28:57 +00:00
Profile Revert "[Coverage] Revise format to reduce binary size" 2019-12-04 10:35:14 -08:00
Refactor
Rewriter
Sema PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer. 2020-01-15 13:14:57 -08:00
SemaCUDA
SemaCXX PR42694 Support explicit(bool) in older language modes as an extension. 2020-01-15 18:38:23 -08:00
SemaObjC Add a FIXME and corresponding test coverage for some suspicious behavior 2020-01-10 16:12:00 -08:00
SemaObjCXX Clean up and slightly generalize implementation of composite pointer 2020-01-10 16:12:00 -08:00
SemaOpenCL CWG2352: Allow qualification conversions during reference binding. 2020-01-09 18:24:06 -08:00
SemaOpenCLCXX Clean up and slightly generalize implementation of composite pointer 2020-01-10 16:12:00 -08:00
SemaSYCL [SYCL] Add sycl_kernel attribute for accelerated code outlining 2019-12-03 16:13:22 +03:00
SemaTemplate Fix pack deduction to only deduce the arity of packs that are actually 2020-01-15 16:21:08 -08:00
TableGen
Templight
Tooling
Unit
VFS Fix external-names.c test when separator is \\ 2019-12-31 11:15:46 +00:00
clang-rename
.clang-format
CMakeLists.txt [Clang][Driver] Re-use the calling process instead of creating a new process for the cc1 invocation 2020-01-13 10:40:18 -05:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Revert "[analyzer] Add test directory for scan-build." 2019-11-05 14:03:36 -08:00
lit.site.cfg.py.in build: reduce CMake handling for zlib 2020-01-02 11:19:12 -08:00
make_test_dirs.pl