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

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 00:47:10 PST 2017


kzhuravl added inline comments.


================
Comment at: lib/Basic/Targets.cpp:2270
+  unsigned getGlobalAddrSpace() const {
+    return 1; // opencl_global.
+  }
----------------
arsenm wrote:
> Should this be constant in some contexts?
I can't think of any at this moment.


https://reviews.llvm.org/D29671





More information about the llvm-commits mailing list