[PATCH] D40040: [AMDGPU] Fix SITargetLowering::LowerCall for pointer info of byval argument
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 09:56:30 PST 2017
yaxunl created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, nhaehnle, wdng, kzhuravl.
SITargetLowering::LowerCall uses dummy pointer info for byval argument, which causes
flat load instead of buffer load.
This patch fixes that.
https://reviews.llvm.org/D40040
Files:
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/sibling-call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40040.122862.patch
Type: text/x-patch
Size: 7079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/40022d39/attachment.bin>
More information about the llvm-commits
mailing list