annotate llvm/test/CodeGen/AMDGPU/unify-metadata.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: opt -mtriple=amdgcn--amdhsa -amdgpu-unify-metadata -S < %s | FileCheck -check-prefix=ALL %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 ; This test check that we have a singe metadata value after linking several
anatofuz
parents:
diff changeset
4 ; modules for records such as opencl.ocl.version, llvm.ident and similar.
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 ; ALL-DAG: !opencl.ocl.version = !{![[OCL_VER:[0-9]+]]}
anatofuz
parents:
diff changeset
7 ; ALL-DAG: !llvm.ident = !{![[LLVM_IDENT_0:[0-9]+]], ![[LLVM_IDENT_1:[0-9]+]]}
anatofuz
parents:
diff changeset
8 ; ALL-DAG: !opencl.used.extensions = !{![[USED_EXT_0:[0-9]+]], ![[USED_EXT_1:[0-9]+]], ![[USED_EXT_2:[0-9]+]]}
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 ; ALL-DAG: ![[OCL_VER]] = !{i32 1, i32 2}
anatofuz
parents:
diff changeset
11 ; ALL-DAG: ![[LLVM_IDENT_0]] = !{!"clang version 4.0"}
anatofuz
parents:
diff changeset
12 ; ALL-DAG: ![[LLVM_IDENT_1]] = !{!"clang version 4.0 (rLXXXXXX)"}
anatofuz
parents:
diff changeset
13 ; ALL-DAG: ![[USED_EXT_0]] = !{!"cl_images"}
anatofuz
parents:
diff changeset
14 ; ALL-DAG: ![[USED_EXT_1]] = !{!"cl_khr_fp16"}
anatofuz
parents:
diff changeset
15 ; ALL-DAG: ![[USED_EXT_2]] = !{!"cl_doubles"}
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 !opencl.ocl.version = !{!1, !0, !0, !0}
anatofuz
parents:
diff changeset
18 !llvm.ident = !{!2, !2, !2, !2, !6}
anatofuz
parents:
diff changeset
19 !opencl.used.extensions = !{!3, !3, !4, !5}
anatofuz
parents:
diff changeset
20
anatofuz
parents:
diff changeset
21 !0 = !{i32 2, i32 0}
anatofuz
parents:
diff changeset
22 !1 = !{i32 1, i32 2}
anatofuz
parents:
diff changeset
23 !2 = !{!"clang version 4.0"}
anatofuz
parents:
diff changeset
24 !3 = !{!"cl_images", !"cl_khr_fp16"}
anatofuz
parents:
diff changeset
25 !4 = !{!"cl_images", !"cl_doubles"}
anatofuz
parents:
diff changeset
26 !5 = !{}
anatofuz
parents:
diff changeset
27 !6 = !{!"clang version 4.0 (rLXXXXXX)"}