Skip to content

Commit 0aed535

Browse files
jcranmer-inteldwoodwor-intel
authored andcommitted
Scavenge type parameters for use in translating opaque pointers. (#1512)
This change is incomplete, and will not properly convert every single LLVM IR file to SPIR-V. However, it will convert many files. Areas that are known to require more investigation: * ptr-valued extractvalue, especially from cmpxchg instructions * return values of functions * llvm.*.annotation support * function pointer extensions * pointer types in structs Original commit: KhronosGroup/SPIRV-LLVM-Translator@21fee92
1 parent 899128a commit 0aed535

File tree

495 files changed

+1384
-537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

495 files changed

+1384
-537
lines changed

llvm-spirv/lib/SPIRV/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ add_llvm_library(LLVMSPIRVLib
2121
SPIRVToOCL.cpp
2222
SPIRVToOCL12.cpp
2323
SPIRVToOCL20.cpp
24+
SPIRVTypeScavenger.cpp
2425
SPIRVUtil.cpp
2526
SPIRVWriter.cpp
2627
SPIRVWriterPass.cpp

0 commit comments

Comments
 (0)