[PATCH 32/79] [DebugInfo] Add DW_ATE_complex_float translation (#1946)
authorDmitry Sidorov <dmitry.sidorov@intel.com>
Wed, 12 Apr 2023 14:24:16 +0000 (16:24 +0200)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commit1635dfeb83b0bca5d24aa91cddc76ec9fd9983f0
tree76128a308e7a612d6d287f4323cf9c3830e4775b
parent40a12686351b06f79ae3f78ad13851343dc2774e
[PATCH 32/79] [DebugInfo] Add DW_ATE_complex_float translation (#1946)

It's mapped on new Encoding value for DebugBasicType in NonSemantic.Shader.DebugInfo.200 spec.
If another DebugInfo instruction set is specified - it's mapped to DW_TAG_unspecified_type

Spec:
KhronosGroup/SPIRV-Registry#186

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Gbp-Pq: Name 0032-DebugInfo-Add-DW_ATE_complex_float-translation-1946.patch
lib/SPIRV/LLVMToSPIRVDbgTran.cpp
lib/SPIRV/SPIRVReader.cpp
lib/SPIRV/libSPIRV/SPIRV.debug.h
test/DebugInfo/NonSemantic/Shader200/FortranComplex.ll [new file with mode: 0644]
tools/llvm-spirv/llvm-spirv.cpp