This is an archive of the discontinued LLVM Phabricator instance.

R600: Correctly set the src value offset for scalarized kernel args
ClosedPublic

Authored by arsenm on May 7 2014, 12:25 PM.

Details

Reviewers
arsenm
Summary

This for some reason fixes v1i64 kernel arguments on pre-SI. This
currently breaks some other cases in the kernel-args.ll test for R600,
but I'm not particularly familiar with Evergreen ISA or confident in the new output.
VTX_READ_* are not used for some of the scalarized cases, and the code reading from the
constant buffer doesn't make much sense to me.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 9185.May 7 2014, 12:25 PM
arsenm retitled this revision from to R600: Correctly set the src value offset for scalarized kernel args.
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm updated this revision to Diff 9369.May 13 2014, 6:28 PM

Fix using wrong type for scalarized vector arguments. Restores v1i64 to being broken, and fixes other tests

arsenm accepted this revision.Aug 13 2014, 11:23 AM
arsenm added a reviewer: arsenm.

r215564

This revision is now accepted and ready to land.Aug 13 2014, 11:23 AM
arsenm closed this revision.Aug 13 2014, 11:23 AM