Open linehill opened 1 year ago
The issue is caused by opaque pointers switch that happened on earlier versions of the translator. I remember hearing about such issue from @asudarsa and the conclusion was that we probably need to restore correct mangling in the SPIR-V consumers from older branches. Arvind, may I assign it to you or it will go to another developer?
The following LLVM 16 bitcode:
... translates to SPIR-V (with locally built llvm-spirv for LLVM 16) but reverse translation fails at least with llvm-spirv for LLVM 15 (provided by APT in Ubuntu 22.04):