KhronosGroup / SPIRV-LLVM-Translator

A tool and a library for bi-directional translation between SPIR-V and LLVM IR
Other
468 stars 209 forks source link

[Backport to 15] Don't add initializer to local variables with external linkage. #2643

Closed maarquitos14 closed 1 month ago

maarquitos14 commented 1 month ago

If a variable is external, it will be defined during linking, the translator should not do it.

MrSidims commented 1 month ago

Restarting CI

MrSidims commented 1 month ago

@maarquitos14 please check the test failure