[PATCH] D34367: CodeGen: Fix address space of indirect function argument
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 20 09:00:05 PDT 2017
rjmccall added inline comments.
================
Comment at: lib/CodeGen/CGCall.cpp:1605
+ ? CGM.getDataLayout().getAllocaAddrSpace()
+ : getContext().getTargetAddressSpace(LangAS::Default));
break;
----------------
Everything about your reasoning seems to apply to normal indirect arguments, too.
https://reviews.llvm.org/D34367
More information about the cfe-commits
mailing list