[llvm] [AMDGPU] Add an asm directive to track code_object_version (PR #76267)
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 12:46:13 PST 2024
================
@@ -5918,6 +5851,9 @@ bool AMDGPUAsmParser::ParseDirective(AsmToken DirectiveID) {
if (IDVal == PALMD::AssemblerDirective)
return ParseDirectivePALMetadata();
+ if (IDVal == ".amdgcn_code_object_version")
----------------
kzhuravl wrote:
Agreed, should be amdhsa_code_object_version (see my previous comment). It would be good to fix the LLVM IR module flag to be amdhsa_code_object_version as well for consistency.
https://github.com/llvm/llvm-project/pull/76267
More information about the llvm-commits
mailing list