[PATCH] D40040: [AMDGPU] Fix SITargetLowering::LowerCall for pointer info of byval argument

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 16:54:47 PST 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:2284
+            MachinePointerInfo(UndefValue::get(Type::getInt8PtrTy(
+                *DAG.getContext(), AMDGPUASI.PRIVATE_ADDRESS))));
 
----------------
arsenm wrote:
> I think this should be a Stack PseudoSourceValue, but don't remember why it isn't
The destination is a Stack PSV. The source I guess is unknown. We do need to figure out something other than undef for these


https://reviews.llvm.org/D40040





More information about the llvm-commits mailing list