[llvm] [AMDGPU] Add an asm directive to track code_object_version (PR #76267)
    Scott Linder via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan  2 16:24:58 PST 2024
    
    
  
================
@@ -2174,7 +2174,7 @@ AMDGPUDisassembler::decodeKernelDescriptorDirective(
                       KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32);
     }
 
-    if (AMDGPU::getAmdhsaCodeObjectVersion() >= AMDGPU::AMDHSA_COV5)
+    if (AMDGPU::getDefaultCodeObjectVersion() >= AMDGPU::AMDHSA_COV5)
----------------
slinder1 wrote:
Nit: could use a FIXME comment for the cleanup you mention in the commit message
https://github.com/llvm/llvm-project/pull/76267
    
    
More information about the llvm-commits
mailing list