diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-10-11 22:18:53 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-10-11 22:18:53 +0000 |
commit | 44bc30dd6d6019569062b5dd9f1f33861290a737 (patch) | |
tree | f93971794b1a3b215aec00067a55dd16c0c940a6 /test/CodeGen/AMDGPU | |
parent | b4627db34f35839793634be9f0ae36d0ecc0871f (diff) | |
download | llvm-44bc30dd6d6019569062b5dd9f1f33861290a737.tar.gz |
AMDGPU/NFC: Rename code object metadata as HSA metadata
- Rename AMDGPUCodeObjectMetadata to AMDGPUMetadata (PAL metadata will be included in this file in the follow up change)
- Rename AMDGPUCodeObjectMetadataStreamer to AMDGPUHSAMetadataStreamer
- Introduce HSAMD namespace
- Other minor name changes in function and test names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/AMDGPU')
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-deduce-ro-arg.ll) | 0 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-from-llvm-ir-full.ll) | 14 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-images.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-images.ll) | 0 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-1.ll) | 0 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-2.ll) | 0 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-3.ll) | 0 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-kernel-code-props.ll) | 0 | ||||
-rw-r--r-- | test/CodeGen/AMDGPU/hsa-metadata-kernel-debug-props.ll (renamed from test/CodeGen/AMDGPU/code-object-metadata-kernel-debug-props.ll) | 0 |
8 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/AMDGPU/code-object-metadata-deduce-ro-arg.ll b/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll index a33c3646e25..a33c3646e25 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-deduce-ro-arg.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll diff --git a/test/CodeGen/AMDGPU/code-object-metadata-from-llvm-ir-full.ll b/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll index ae557875959..8fd529026e4 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-from-llvm-ir-full.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll @@ -1,9 +1,9 @@ ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -filetype=obj -o - < %s | llvm-readobj -amdgpu-code-object-metadata -elf-output-style=GNU -notes | FileCheck --check-prefix=CHECK --check-prefix=GFX700 --check-prefix=NOTES %s ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx800 -filetype=obj -o - < %s | llvm-readobj -amdgpu-code-object-metadata -elf-output-style=GNU -notes | FileCheck --check-prefix=CHECK --check-prefix=GFX800 --check-prefix=NOTES %s ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj -o - < %s | llvm-readobj -amdgpu-code-object-metadata -elf-output-style=GNU -notes | FileCheck --check-prefix=CHECK --check-prefix=GFX900 --check-prefix=NOTES %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -amdgpu-dump-comd -amdgpu-verify-comd -filetype=obj -o - < %s 2>&1 | FileCheck --check-prefix=PARSER %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx800 -amdgpu-dump-comd -amdgpu-verify-comd -filetype=obj -o - < %s 2>&1 | FileCheck --check-prefix=PARSER %s -; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -amdgpu-dump-comd -amdgpu-verify-comd -filetype=obj -o - < %s 2>&1 | FileCheck --check-prefix=PARSER %s +; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata -filetype=obj -o - < %s 2>&1 | FileCheck --check-prefix=PARSER %s +; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx800 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata -filetype=obj -o - < %s 2>&1 | FileCheck --check-prefix=PARSER %s +; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata -filetype=obj -o - < %s 2>&1 | FileCheck --check-prefix=PARSER %s %struct.A = type { i8, float } %opencl.image1d_t = type opaque @@ -1203,7 +1203,7 @@ define amdgpu_kernel void @test_pointee_align(i64 addrspace(1)* %a, ; CHECK-NEXT: Language: OpenCL C ; CHECK-NEXT: LanguageVersion: [ 2, 0 ] ; CHECK-NEXT: Attrs: -; CHECK-NEXT: RuntimeHandle: __test_block_invoke_kernel_runtime_handle +; CHECK-NEXT: RuntimeHandle: __test_block_invoke_kernel_runtime_handle ; CHECK-NEXT: Args: ; CHECK-NEXT: - Size: 25 ; CHECK-NEXT: Align: 1 @@ -1229,13 +1229,13 @@ define amdgpu_kernel void @test_pointee_align(i64 addrspace(1)* %a, ; CHECK-NEXT: ValueType: I8 ; CHECK-NEXT: AddrSpaceQual: Global define amdgpu_kernel void @__test_block_invoke_kernel( - <{ i32, i32, i8 addrspace(4)*, i8 addrspace(1)*, i8 }> %arg) #1 + <{ i32, i32, i8 addrspace(4)*, i8 addrspace(1)*, i8 }> %arg) #0 !kernel_arg_addr_space !1 !kernel_arg_access_qual !2 !kernel_arg_type !110 !kernel_arg_base_type !110 !kernel_arg_type_qual !4 { ret void } -attributes #1 = { "runtime-handle"="__test_block_invoke_kernel_runtime_handle" } +attributes #0 = { "runtime-handle"="__test_block_invoke_kernel_runtime_handle" } !llvm.printf.fmts = !{!100, !101} @@ -1300,4 +1300,4 @@ attributes #1 = { "runtime-handle"="__test_block_invoke_kernel_runtime_handle" } ; GFX800: AMD 0x000092e4 Unknown note type: (0x0000000a) ; GFX900: AMD 0x00008f64 Unknown note type: (0x0000000a) -; PARSER: AMDGPU Code Object Metadata Parser Test: PASS +; PARSER: AMDGPU HSA Metadata Parser Test: PASS diff --git a/test/CodeGen/AMDGPU/code-object-metadata-images.ll b/test/CodeGen/AMDGPU/hsa-metadata-images.ll index 91856046985..91856046985 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-images.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-images.ll diff --git a/test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-1.ll b/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1.ll index f41da9f9213..f41da9f9213 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-1.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1.ll diff --git a/test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-2.ll b/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2.ll index 0509663d984..0509663d984 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-2.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2.ll diff --git a/test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-3.ll b/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3.ll index 7404cec5d78..7404cec5d78 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-3.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3.ll diff --git a/test/CodeGen/AMDGPU/code-object-metadata-kernel-code-props.ll b/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll index 3b232e40cf2..3b232e40cf2 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-kernel-code-props.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll diff --git a/test/CodeGen/AMDGPU/code-object-metadata-kernel-debug-props.ll b/test/CodeGen/AMDGPU/hsa-metadata-kernel-debug-props.ll index 0ffc9220315..0ffc9220315 100644 --- a/test/CodeGen/AMDGPU/code-object-metadata-kernel-debug-props.ll +++ b/test/CodeGen/AMDGPU/hsa-metadata-kernel-debug-props.ll |