[llvm] [AMDGPU] Add an asm directive to track code_object_version (PR #76267)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 21:00:12 PST 2024
================
@@ -5918,6 +5851,9 @@ bool AMDGPUAsmParser::ParseDirective(AsmToken DirectiveID) {
if (IDVal == PALMD::AssemblerDirective)
return ParseDirectivePALMetadata();
+ if (IDVal == ".amdgcn_code_object_version")
----------------
arsenm wrote:
Why .amdgcn and not .amdhsa? Don't the other directives use an amdhsa prefix?
https://github.com/llvm/llvm-project/pull/76267
More information about the llvm-commits
mailing list