SPIRV-Tools/test/link
Karol Herbst e99a5c033e
spirv-link: allow linking functions with different pointer arguments (#5534)
* 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
2024-07-24 08:38:19 -04:00
..
binary_version_test.cpp linker: Add --use-highest-version option (#5376) 2023-08-21 17:05:33 -06:00
CMakeLists.txt linker: Add tests for various type comparisons (#2613) 2019-05-24 15:40:28 -04:00
entry_points_test.cpp linker: Recalculate interface variables (#4784) 2022-05-03 13:23:02 +00:00
global_values_amount_test.cpp Switch SPIRV-Tools to use spirv.hpp11 internally (#4981) 2022-11-04 17:27:10 -04:00
ids_limit_test.cpp Switch SPIRV-Tools to use spirv.hpp11 internally (#4981) 2022-11-04 17:27:10 -04:00
linker_fixture.h linker: Recalculate interface variables (#4784) 2022-05-03 13:23:02 +00:00
matching_imports_to_exports_test.cpp spirv-link: allow linking functions with different pointer arguments (#5534) 2024-07-24 08:38:19 -04:00
memory_model_test.cpp Switch SPIRV-Tools to use spirv.hpp11 internally (#4981) 2022-11-04 17:27:10 -04:00
partial_linkage_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
type_match_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
unique_ids_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00