-
Notifications
You must be signed in to change notification settings - Fork 39
Add linker #1
Copy link
Copy link
Closed
Labels
Description
Since SPIRV-Tools now implements a linker, we could use it, to provide a linker for the VC4C compiler.
Provide an interface (can be separate from compiler-interface) to link together two intermediate binaries (LLVM-IR or SPIR-V).
LLVM/CLang support linking via llvm-link, SPIR-V via tools/spirv-link in SPIRV-Tools.
Problem:
Both utils only support "full linking", where implementations for all functions need to be available, which is not the case since the vc4cl_ intrinsic functions are not implemented in any intermediate format.
Reactions are currently unavailable