diff options
author | Sam Kolton <Sam.Kolton@amd.com> | 2016-12-19 11:43:15 +0000 |
---|---|---|
committer | Sam Kolton <Sam.Kolton@amd.com> | 2016-12-19 11:43:15 +0000 |
commit | 69c8aa26d8cc1014a791611be72c7c1ee5a3d336 (patch) | |
tree | 75223d7de7230836c16b0b314ab9f991249cf396 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 519807f7beec071583e5c869ac2666dac2e50542 (diff) | |
download | llvm-69c8aa26d8cc1014a791611be72c7c1ee5a3d336.zip llvm-69c8aa26d8cc1014a791611be72c7c1ee5a3d336.tar.gz llvm-69c8aa26d8cc1014a791611be72c7c1ee5a3d336.tar.bz2 |
AMDGPU: [AMDGPU] Assembler: add .hsa_code_object_metadata directive for functime metadata V2.0
Summary:
Added pair of directives .hsa_code_object_metadata/.end_hsa_code_object_metadata.
Between them user can put YAML string that would be directly put to the generated note. E.g.:
'''
.hsa_code_object_metadata
{
amd.MDVersion: [ 2, 0 ]
}
.end_hsa_code_object_metadata
'''
Based on D25046
Reviewers: vpykhtin, nhaustov, yaxunl, tstellarAMD
Subscribers: arsenm, kzhuravl, wdng, nhaehnle, mgorny, tony-tye
Differential Revision: https://reviews.llvm.org/D27619
llvm-svn: 290097
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions