annotate llvm/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg-v3.ll @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children 2e18cbf3894f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ; RUN: llc -mattr=+code-object-v3 -mtriple=amdgcn-amd-amdhsa -filetype=obj -o - < %s | llvm-readelf --notes | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 ; CHECK: - .args:
anatofuz
parents:
diff changeset
4 ; CHECK-NEXT: - .access: read_only
anatofuz
parents:
diff changeset
5 ; CHECK-NEXT: .address_space: global
anatofuz
parents:
diff changeset
6 ; CHECK-NEXT: .is_const: true
anatofuz
parents:
diff changeset
7 ; CHECK-NEXT: .is_restrict: true
anatofuz
parents:
diff changeset
8 ; CHECK-NEXT: .name: in
anatofuz
parents:
diff changeset
9 ; CHECK-NEXT: .offset: 0
anatofuz
parents:
diff changeset
10 ; CHECK-NEXT: .size: 8
anatofuz
parents:
diff changeset
11 ; CHECK-NEXT: .type_name: 'float*'
anatofuz
parents:
diff changeset
12 ; CHECK-NEXT: .value_kind: global_buffer
anatofuz
parents:
diff changeset
13 ; CHECK-NEXT: .value_type: f32
anatofuz
parents:
diff changeset
14 ; CHECK-NEXT: - .address_space: global
anatofuz
parents:
diff changeset
15 ; CHECK-NEXT: .name: out
anatofuz
parents:
diff changeset
16 ; CHECK-NEXT: .offset: 8
anatofuz
parents:
diff changeset
17 ; CHECK-NEXT: .size: 8
anatofuz
parents:
diff changeset
18 ; CHECK-NEXT: .type_name: 'float*'
anatofuz
parents:
diff changeset
19 ; CHECK-NEXT: .value_kind: global_buffer
anatofuz
parents:
diff changeset
20 ; CHECK-NEXT: .value_type: f32
anatofuz
parents:
diff changeset
21 ; CHECK: .name: test_ro_arg
anatofuz
parents:
diff changeset
22 ; CHECK: .symbol: test_ro_arg.kd
anatofuz
parents:
diff changeset
23
anatofuz
parents:
diff changeset
24 define amdgpu_kernel void @test_ro_arg(float addrspace(1)* noalias readonly %in, float addrspace(1)* %out)
anatofuz
parents:
diff changeset
25 !kernel_arg_addr_space !0 !kernel_arg_access_qual !1 !kernel_arg_type !2
anatofuz
parents:
diff changeset
26 !kernel_arg_base_type !2 !kernel_arg_type_qual !3 {
anatofuz
parents:
diff changeset
27 ret void
anatofuz
parents:
diff changeset
28 }
anatofuz
parents:
diff changeset
29
anatofuz
parents:
diff changeset
30 !0 = !{i32 1, i32 1}
anatofuz
parents:
diff changeset
31 !1 = !{!"none", !"none"}
anatofuz
parents:
diff changeset
32 !2 = !{!"float*", !"float*"}
anatofuz
parents:
diff changeset
33 !3 = !{!"const restrict", !""}