diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2015-11-09 15:25:24 -0500 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2015-11-09 15:25:24 -0500 |
commit | b2690d32f2d7b3abded037d8e0ede53824ea18c3 (patch) | |
tree | a9fe7105f33cd4e4b7719776dbc2a9efeb761458 /docs | |
parent | 8234eb1671dfa394624b68359b34d6d51efd174d (diff) |
[SPIRV] Fix translation of to_global/local/private. The corresponding SPIR-V builtin function __spirv_GenericCastToPtrExplicit needs to be postfixed with _ToGlobal/Local/Private to avoid confliction of names.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SPIRVRepresentationInLLVM.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/SPIRVRepresentationInLLVM.rst b/docs/SPIRVRepresentationInLLVM.rst index 1320ce9..1394357 100644 --- a/docs/SPIRVRepresentationInLLVM.rst +++ b/docs/SPIRVRepresentationInLLVM.rst @@ -71,6 +71,15 @@ where * {ConversionOpCodeName} = ConvertFToU|ConvertFToS|ConvertUToF|ConvertUToS|UConvert|SConvert|FConvert|SatConvertSToU|SatConvertUToS +SPIR-V Builtin GenericCastToPtr Function Name +---------------------------------------- + +The unmangled names of SPIR-V builtin GenericCastToPtrExplicit function follow the convention: + +.. code-block:: c + + __spirv_GenericCastToPtrExplicit_To{Global|Local|Private} + SPIR-V Extended Instructions Mapped to LLVM Function Calls ========================================================== |