llvm-project/clang/lib
Yaxun Liu 99444cb860 [OpenCL] Fix size of image type
The size of image type is reported incorrectly as size of a pointer to address space 0, which causes error when casting image type to pointers by __builtin_astype.

The fix is to get image address space from TargetInfo then report the size accordingly.

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

llvm-svn: 277647
2016-08-03 20:38:06 +00:00
..
ARCMigrate [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
AST [OpenCL] Fix size of image type 2016-08-03 20:38:06 +00:00
ASTMatchers [ASTMatcher] Add templateName matcher. 2016-07-29 15:45:11 +00:00
Analysis [CFG] Fix crash finding destructor of lifetime-extended temporary. 2016-08-02 21:07:23 +00:00
Basic [OpenCL] Fix size of image type 2016-08-03 20:38:06 +00:00
CodeGen [OpenCL] Fix size of image type 2016-08-03 20:38:06 +00:00
Driver [CUDA] Fix libdevice selection. 2016-08-02 23:12:51 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
Frontend Initial vectorization support for svml calls (short vector math library). 2016-07-29 16:44:24 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers Add more gcc compatibility names to clang's cpuid.h 2016-07-31 20:23:23 +00:00
Index [index] Fix crash with indexing designated init expressions inside templates. 2016-08-03 05:38:53 +00:00
Lex Revert r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-07-28 17:17:22 +00:00
Parse [Parse] Let declarations follow labels in -fms-extensions mode 2016-08-01 16:39:29 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [ObjC Availability] Fix partial-availability false positive introduced in r277058 2016-08-01 20:19:49 +00:00
Serialization Reapply r276069 with workaround for MSVC 2013 2016-07-30 22:33:34 +00:00
StaticAnalyzer [analyzer] Update two comments in MPI-Checker. NFC. 2016-08-02 23:24:40 +00:00
Tooling Fix bug in conflict check for Replacements::add(). 2016-08-03 15:12:00 +00:00
CMakeLists.txt