[PATCH] D30433: [AMDGPU] Change amd_kernel_code_t's minor version to 1

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 09:29:47 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL296489: [AMDGPU] Change amd_kernel_code_t's minor version to 1 (authored by kzhuravl).

Changed prior to commit:
  https://reviews.llvm.org/D30433?vs=89946&id=90049#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D30433

Files:
  llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/trunk/test/MC/AMDGPU/hsa-exp.s
  llvm/trunk/test/MC/AMDGPU/hsa.s


Index: llvm/trunk/test/MC/AMDGPU/hsa-exp.s
===================================================================
--- llvm/trunk/test/MC/AMDGPU/hsa-exp.s
+++ llvm/trunk/test/MC/AMDGPU/hsa-exp.s
@@ -65,7 +65,7 @@
 // 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
Index: llvm/trunk/test/MC/AMDGPU/hsa.s
===================================================================
--- llvm/trunk/test/MC/AMDGPU/hsa.s
+++ llvm/trunk/test/MC/AMDGPU/hsa.s
@@ -214,7 +214,7 @@
 // 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
Index: llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+++ llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
@@ -307,7 +307,7 @@
   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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30433.90049.patch
Type: text/x-patch
Size: 1588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/7c959c5c/attachment.bin>


More information about the llvm-commits mailing list