This is an archive of the discontinued LLVM Phabricator instance.

Workaround attribute ordering issue with kernel only attributes
ClosedPublic

Authored by arsenm on Dec 4 2014, 3:30 PM.

Details

Summary

Placing the attribute after the kernel keyword would incorrectly
reject the attribute, so use the smae workaround that other
kernel only attributes use.

Also add a FIXME because there are two different phrasings now
for the same error, althoug amdgpu_num_[sv]gpr uses a consistent one.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 16958.Dec 4 2014, 3:30 PM
arsenm retitled this revision from to Workaround attribute ordering issue with kernel only attributes .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a reviewer: aaron.ballman.
arsenm added a subscriber: Unknown Object (MLST).
arsenm accepted this revision.Dec 5 2014, 10:05 AM
arsenm added a reviewer: arsenm.

r223490

This revision is now accepted and ready to land.Dec 5 2014, 10:05 AM
arsenm closed this revision.Dec 5 2014, 10:05 AM