[PATCH] D29671: [DebugInfo] Add address space when creating DIDerivedTypes

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 12:22:25 PST 2017


arsenm added inline comments.


================
Comment at: lib/Basic/Targets.cpp:2270
+  unsigned getGlobalAddrSpace() const {
+    return 1; // opencl_global.
+  }
----------------
Should this be constant in some contexts?


https://reviews.llvm.org/D29671





More information about the llvm-commits mailing list