This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Implement call lowering for shaders returning values
ClosedPublic

Authored by tstellar on Jan 24 2019, 9:49 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellar created this revision.Jan 24 2019, 9:49 AM
arsenm added inline comments.Jan 24 2019, 10:12 AM
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
83 ↗(On Diff #183333)

Why is this set here unconditionally?

tstellar updated this revision to Diff 193652.Apr 3 2019, 8:39 PM

Address review comments.

Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2019, 8:39 PM
tstellar marked 2 inline comments as done.Apr 3 2019, 8:41 PM
tstellar added inline comments.
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
83 ↗(On Diff #183333)

This is now set based on Val being non/non-null.

arsenm accepted this revision.Apr 4 2019, 6:28 AM

LGTM

llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
43 ↗(On Diff #193652)

Remove dead return, I think something warns on this

This revision is now accepted and ready to land.Apr 4 2019, 6:28 AM
This revision was automatically updated to reflect the committed changes.
tstellar marked an inline comment as done.
llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_vs.ll