This is an archive of the discontinued LLVM Phabricator instance.

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
not true for amdgcn---amdgiz target.

This patch fixes that.

Diff Detail

Repository
rL LLVM

Event Timeline

yaxunl created this revision.Nov 20 2017, 8:26 AM
This revision is now accepted and ready to land.Nov 20 2017, 9:17 AM
yaxunl updated this revision to Diff 124197.Nov 24 2017, 6:25 AM

Add some missing changes.

yaxunl updated this revision to Diff 124762.Nov 29 2017, 9:08 AM

sync to ToT.

This revision was automatically updated to reflect the committed changes.