annotate libclc/ptx/lib/shared/vload_half_helpers.ll @ 259:011663b4a808

remove duplicate setjmp in return continuation
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 12 Oct 2023 15:52:37 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 define float @__clc_vload_half_float_helper__private(half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
anatofuz
parents:
diff changeset
2 %data = load half, half addrspace(0)* %ptr
anatofuz
parents:
diff changeset
3 %res = fpext half %data to float
anatofuz
parents:
diff changeset
4 ret float %res
anatofuz
parents:
diff changeset
5 }
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 define float @__clc_vload_half_float_helper__global(half addrspace(1)* nocapture %ptr) nounwind alwaysinline {
anatofuz
parents:
diff changeset
8 %data = load half, half addrspace(1)* %ptr
anatofuz
parents:
diff changeset
9 %res = fpext half %data to float
anatofuz
parents:
diff changeset
10 ret float %res
anatofuz
parents:
diff changeset
11 }
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 define float @__clc_vload_half_float_helper__local(half addrspace(3)* nocapture %ptr) nounwind alwaysinline {
anatofuz
parents:
diff changeset
14 %data = load half, half addrspace(3)* %ptr
anatofuz
parents:
diff changeset
15 %res = fpext half %data to float
anatofuz
parents:
diff changeset
16 ret float %res
anatofuz
parents:
diff changeset
17 }
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 define float @__clc_vload_half_float_helper__constant(half addrspace(4)* nocapture %ptr) nounwind alwaysinline {
anatofuz
parents:
diff changeset
20 %data = load half, half addrspace(4)* %ptr
anatofuz
parents:
diff changeset
21 %res = fpext half %data to float
anatofuz
parents:
diff changeset
22 ret float %res
anatofuz
parents:
diff changeset
23 }