[PATCH] D37052: Add default address space for functions to the data layout (1/3)

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 03:45:58 PST 2017


bjope added inline comments.


================
Comment at: include/llvm/IR/GlobalValue.h:185
   unsigned getAlignment() const;
+  unsigned getAddressSpace() const;
 
----------------
Is this a preparation for some future patch? I can't see that it is used in this patch (and it does not seem to be related to adding support for "P" in DataLayout).


https://reviews.llvm.org/D37052





More information about the llvm-commits mailing list