mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-21 19:20:07 +00:00
e99a5c033e
* linker: run dedup earlier Otherwise `linkings_to_do` might end up with stale IDs. * linker: allow linking functions with different pointer arguments Since llvm-17 there are no typed pointers and hte SPIRV-LLVM-Translator doesn't know the function signature of imported functions. I'm investigating different ways of solving this problem and adding an option to work around it inside `spirv-link` is one of those. The code is almost complete, just I'm having troubles constructing the bitcast to cast the pointer parameters to the final type. Closes: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2153 * test/linker: add tests to test the AllowPtrTypeMismatch feature |
||
---|---|---|
.. | ||
binary_version_test.cpp | ||
CMakeLists.txt | ||
entry_points_test.cpp | ||
global_values_amount_test.cpp | ||
ids_limit_test.cpp | ||
linker_fixture.h | ||
matching_imports_to_exports_test.cpp | ||
memory_model_test.cpp | ||
partial_linkage_test.cpp | ||
type_match_test.cpp | ||
unique_ids_test.cpp |