SelectionDAGISel::LowerArguments assumes sret addr space is 0, which is
not true for amdgcn---amdgiz target.
This patch fixes that.
Paths
| Differential D40255
CodeGen: Fix SelectionDAGISel::LowerArguments for sret addr space ClosedPublic Authored by yaxunl on Nov 20 2017, 8:26 AM.
Details Summary SelectionDAGISel::LowerArguments assumes sret addr space is 0, which is This patch fixes that.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 20 2017, 9:17 AM Closed by commit rL319630: CodeGen: Fix SelectionDAGISel::LowerArguments for sret addr space (authored by yaxunl). · Explain WhyDec 2 2017, 7:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 125285 llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/trunk/test/CodeGen/AMDGPU/function-returns.ll
|