SITargetLowering::LowerCall uses dummy pointer info for byval argument, which causes
flat load instead of buffer load.
This patch fixes that.
Paths
| Differential D40040
[AMDGPU] Fix SITargetLowering::LowerCall for pointer info of byval argument ClosedPublic Authored by yaxunl on Nov 14 2017, 9:55 AM.
Details Summary SITargetLowering::LowerCall uses dummy pointer info for byval argument, which causes This patch fixes that.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 3 others. · View Herald TranscriptNov 14 2017, 9:55 AM This revision is now accepted and ready to land.Nov 14 2017, 10:33 AM
Closed by commit rL318844: [AMDGPU] Fix SITargetLowering::LowerCall for pointer info of byval argument (authored by yaxunl). · Explain WhyNov 22 2017, 8:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 122862 lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/sibling-call.ll
|
I think this should be a Stack PseudoSourceValue, but don't remember why it isn't