This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add runtime metadata KeyArgSExt and KeyArgZExt
AbandonedPublic

Authored by yaxunl on Sep 9 2016, 1:05 PM.

Details

Summary

Runtime sign ext or zero ext char/short types to 32 bit. We need a metadata to tell runtime whether to sign ext or zero ext.

Diff Detail

Event Timeline

yaxunl updated this revision to Diff 70888.Sep 9 2016, 1:05 PM
yaxunl retitled this revision from to AMDGPU: Add runtime metadata KeyArgSExt and KeyArgZExt.
yaxunl updated this object.
yaxunl added subscribers: Restricted Project, llvm-commits.
yaxunl abandoned this revision.Sep 12 2016, 11:20 AM

We will follow HSA kernel function ABI so that runtime will not sign/zero extend kernel arguments.