annotate test/MC/AMDGPU/hsa-metadata-unknown-key.s @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 803732b1fca8
children c2174574ed3a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 // RUN: not llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 %s 2>&1 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 // RUN: not llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 %s 2>&1 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 // RUN: not llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 %s 2>&1 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 // RUN: not llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 -filetype=obj %s 2>&1 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 // RUN: not llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -filetype=obj %s 2>&1 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 // RUN: not llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj %s 2>&1 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 // CHECK: error: unknown key 'UnknownKey'
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 .amd_amdgpu_hsa_metadata
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 UnknownKey: [ 2, 0 ]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 Version: [ 1, 0 ]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 Printf: [ '1:1:4:%d\n', '2:1:8:%g\n' ]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 Kernels:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 - Name: test_kernel
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 SymbolName: test_kernel@kd
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 Language: OpenCL C
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 LanguageVersion: [ 2, 0 ]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 Args:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 - Size: 1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20 Align: 1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 ValueKind: ByValue
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22 ValueType: I8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
23 AccQual: Default
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 TypeName: char
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
25 - Size: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
26 Align: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
27 ValueKind: HiddenGlobalOffsetX
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
28 ValueType: I64
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
29 - Size: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
30 Align: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
31 ValueKind: HiddenGlobalOffsetY
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
32 ValueType: I64
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
33 - Size: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
34 Align: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
35 ValueKind: HiddenGlobalOffsetZ
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
36 ValueType: I64
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
37 - Size: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
38 Align: 8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
39 ValueKind: HiddenPrintfBuffer
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
40 ValueType: I8
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
41 AddrSpaceQual: Global
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
42 .end_amd_amdgpu_hsa_metadata