]> granicus.if.org Git - clang/commitdiff
Update R600 address space map to include generic
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 1 Dec 2014 16:46:03 +0000 (16:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 1 Dec 2014 16:46:03 +0000 (16:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223046 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index b2178dc4a1fb2507a2840d0e6cc23bd86276f736..de1b22d203eee3517d16000ca8a06ae204f6fb7f 100644 (file)
@@ -1489,8 +1489,7 @@ static const unsigned R600AddrSpaceMap[] = {
   1,    // opencl_global
   3,    // opencl_local
   2,    // opencl_constant
-  // FIXME: generic has to be added to the target
-  0,    // opencl_generic
+  4,    // opencl_generic
   1,    // cuda_device
   2,    // cuda_constant
   3     // cuda_shared