From: Konstantin Zhuravlyov Date: Tue, 28 Feb 2017 17:17:52 +0000 (+0000) Subject: [AMDGPU] Change amd_kernel_code_t's minor version to 1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1d063dce5a3e368c72cce46a24f97265b6fec20;p=llvm [AMDGPU] Change amd_kernel_code_t's minor version to 1 - We do emit amd_kernel_code_t v1.1 Differential Revision: https://reviews.llvm.org/D30433 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296489 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp b/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp index 98f32fa4fdf..cdcc0f08177 100644 --- a/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp +++ b/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp @@ -307,7 +307,7 @@ void initDefaultAMDKernelCodeT(amd_kernel_code_t &Header, memset(&Header, 0, sizeof(Header)); Header.amd_kernel_code_version_major = 1; - Header.amd_kernel_code_version_minor = 0; + Header.amd_kernel_code_version_minor = 1; Header.amd_machine_kind = 1; // AMD_MACHINE_KIND_AMDGPU Header.amd_machine_version_major = ISA.Major; Header.amd_machine_version_minor = ISA.Minor; diff --git a/test/MC/AMDGPU/hsa-exp.s b/test/MC/AMDGPU/hsa-exp.s index cc5dfe82ff4..0323056b7bb 100644 --- a/test/MC/AMDGPU/hsa-exp.s +++ b/test/MC/AMDGPU/hsa-exp.s @@ -65,7 +65,7 @@ amd_kernel_code_t_minimal: // ASM-LABEL: {{^}}amd_kernel_code_t_minimal: // ASM: .amd_kernel_code_t // ASM: amd_code_version_major = 7 -// ASM: amd_code_version_minor = 0 +// ASM: amd_code_version_minor = 1 // ASM: amd_machine_kind = 1 // ASM: amd_machine_version_major = 7 // ASM: amd_machine_version_minor = 0 diff --git a/test/MC/AMDGPU/hsa.s b/test/MC/AMDGPU/hsa.s index a8d850966a7..cd15ec830c3 100644 --- a/test/MC/AMDGPU/hsa.s +++ b/test/MC/AMDGPU/hsa.s @@ -214,7 +214,7 @@ amd_kernel_code_t_minimal: // ASM-LABEL: {{^}}amd_kernel_code_t_minimal: // ASM: .amd_kernel_code_t // ASM: amd_code_version_major = 1 -// ASM: amd_code_version_minor = 0 +// ASM: amd_code_version_minor = 1 // ASM: amd_machine_kind = 1 // ASM: amd_machine_version_major = 7 // ASM: amd_machine_version_minor = 0