[PATCH] D53445: [AMDGPU] Update code object metadata format documentation

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 07:07:18 PDT 2018


scott.linder marked an inline comment as done.
scott.linder added a comment.

In https://reviews.llvm.org/D53445#1271220, @kzhuravl wrote:

> In v2 asm, we had the following:
>
>   .option.machine_version_major
>   .option.machine_version_minor
>   .option.machine_version_stepping
>
>
> What are the equivalents for v3 asm? The updates you made do not seem to describe those... Unless I missed it.


This was replaced with `.amdgcn.gfx_generation_number` which is documented under "Predefined Symbols". I believe we did not want to expose minor/stepping in the assembler, and we wanted to give a more meaningful name to the major version number.


https://reviews.llvm.org/D53445





More information about the llvm-commits mailing list