Skip to content

Commit 21fee92

Browse files
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
1 parent 522d8f9 commit 21fee92

File tree

498 files changed

+1364
-517
lines changed

Some content is hidden

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

498 files changed

+1364
-517
lines changed

lib/SPIRV/CMakeLists.txt

+1
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)