You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... 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):
$ llvm-as-16 from-llvm-16.ll -o - | llvm-spirv-16 -o from-llvm-16.spv
$ llvm-spirv-15 -r from-llvm-16.spv -o to-llvm-15.bc
Fails to verify module: Intrinsic name not mangled correctly for type arguments! Should be: llvm.memset.p1i8.i64
void (i8 addrspace(1)*, i8, i64, i1)* @llvm.memset.p1.i64
The text was updated successfully, but these errors were encountered:
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):
The text was updated successfully, but these errors were encountered: