[PATCH] D35089: Add/Implement AddresSpace to PseudoSourceValue.

Jan Sjödin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 10:16:57 PDT 2017


jsjodin added inline comments.


================
Comment at: lib/CodeGen/PseudoSourceValue.cpp:30
+    : Kind(Kind) {
+  assert(TII != nullptr);
+  AddressSpace = TII->getAddressSpaceForPseudoSourceKind(Kind);
----------------
hfinkel wrote:
> I don't understand this response. Can you make this a reference? It seems required here in the constructor.
Yes. it can be made into a reference. I will post a new patch with this.


https://reviews.llvm.org/D35089





More information about the llvm-commits mailing list