This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove MFI::ABIArgOffset
ClosedPublic

Authored by arsenm on Jun 27 2018, 5:17 AM.

Details

Reviewers
rampitec
Summary

We have too many mechanisms for tracking the various offsets
used for kernel arguments, so remove one. There's still a lot of
confusion with these because there are two different "implicit"
argument areas located at the beginning and end of the kernarg
segment.

Additionally, the offset was determined based on the memory
size of the split element types. This would break in a future
commit where v3i32 is decomposed into separate i32 pieces.

Diff Detail

Event Timeline

arsenm created this revision.Jun 27 2018, 5:17 AM
This revision is now accepted and ready to land.Jun 27 2018, 11:50 AM
arsenm closed this revision.Jun 28 2018, 3:25 AM

r335830