Open
Description
The frexp function has 3 variants in the current libclc : https://github.com/llvm/llvm-project/blob/main/libclc/generic/include/clc/math/frexp.inc : global, local, private
The SPIR specification page 17 says that are 5 different address space qualifiers :
- 0 – private
- 1 – global
- 2 – constant
- 3 – local
- 4 – generic
If some SPIR module was generated using the generic address space qualifier, what version should it use from libclc?
Should the constant & generic variant of the existing functions be added to libclc?