This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix offsets for < 4-byte aggregate kernel arguments
ClosedPublic

Authored by arsenm on Dec 7 2018, 12:55 PM.

Details

Reviewers
rampitec
Summary

We were still using the rounded down offset and alignment even though
they aren't handled because you can't trivially bitcast the loaded
value.

Diff Detail

Event Timeline

arsenm created this revision.Dec 7 2018, 12:55 PM
rampitec accepted this revision.Dec 7 2018, 2:02 PM

LGTM

This revision is now accepted and ready to land.Dec 7 2018, 2:02 PM
arsenm closed this revision.Dec 7 2018, 2:15 PM

r348658