Go to file
Egor Churaev 28f00aab73 [OpenCL] Align fake address space map with the SPIR target maps.
Summary:
We compile user opencl kernel code with spir triple. But built-ins are written in OpenCL and we compile it with triple x86_64 to be able to use x86 intrinsics. And we need address spaces to match in both cases. So, we change fake address space map in OpenCL for matching with spir.

On CPU address spaces are not really important but we'd like to preserve address space information in order to perform optimizations relying on this info like enhanced alias analysis.

Reviewers: pekka.jaaskelainen, Anastasia

Subscribers: pekka.jaaskelainen, yaxunl, bader, cfe-commits

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

llvm-svn: 290436
2016-12-23 16:11:25 +00:00
clang [OpenCL] Align fake address space map with the SPIR target maps. 2016-12-23 16:11:25 +00:00
clang-tools-extra [clang-tidy] Flag implicit conversion operators. 2016-12-23 15:03:12 +00:00
compiler-rt [tests] Add missing "int_lib.h" includes and extend guards 2016-12-23 11:18:24 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [CMake] Fix issue reported on sanitizer bots 2016-12-17 21:28:24 +00:00
libcxxabi [libc++abi] Mark failing test on Darwin as XFAIL 2016-12-13 02:43:04 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld [ELF] - Return file offset as address only for allocatable sections when building .gdb_index 2016-12-23 07:51:59 +00:00
lldb Fix a couple of incorrect format string warnings 2016-12-22 19:15:07 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm AMDGPU: split ret/noret patterns for global atomics 2016-12-23 15:34:51 +00:00
openmp Fix for the __kmpc_global_num_threads function to return the value of the __kmp_all_nth global var. 2016-12-21 21:20:20 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly ScheduleOptimizer: Fix spelling of option '-polly-target-throughput-vector-fma' 2016-12-23 07:33:39 +00:00