Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/CodeGen/AMDGPU/llvm.amdgcn.frexp.exp.f16.ll @ 223:5f17cb93ff66 llvm-original
LLVM13 (2021/7/18)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:43:00 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
222:81f6424ef0e3 | 223:5f17cb93ff66 |
---|---|
33 } | 33 } |
34 | 34 |
35 ; GCN-LABEL: {{^}}frexp_exp_f16_zext | 35 ; GCN-LABEL: {{^}}frexp_exp_f16_zext |
36 ; GCN: buffer_load_ushort v[[A_F16:[0-9]+]] | 36 ; GCN: buffer_load_ushort v[[A_F16:[0-9]+]] |
37 ; VI: v_frexp_exp_i16_f16_e32 v[[R_I16:[0-9]+]], v[[A_F16]] | 37 ; VI: v_frexp_exp_i16_f16_e32 v[[R_I16:[0-9]+]], v[[A_F16]] |
38 ; VI: v_and_b32_e32 v[[R_I32:[0-9]+]], 0xffff, v[[R_I16]] | 38 ; GCN: buffer_store_dword v[[R_I16]] |
39 ; GCN: buffer_store_dword v[[R_I32]] | |
40 define amdgpu_kernel void @frexp_exp_f16_zext( | 39 define amdgpu_kernel void @frexp_exp_f16_zext( |
41 i32 addrspace(1)* %r, | 40 i32 addrspace(1)* %r, |
42 half addrspace(1)* %a) { | 41 half addrspace(1)* %a) { |
43 entry: | 42 entry: |
44 %a.val = load half, half addrspace(1)* %a | 43 %a.val = load half, half addrspace(1)* %a |