This might not be an issue in the translator, but starting the discussion here.
PR 1074 highlights an issue with the representation of source languages that are not in the Source Language section of the core SPIR-V specification. We currently cannot represent the "Fortran" source language in a SPIR-V DebugCompilationUnit, which matters for the LLVM IR Verifier that has different rules for verifying DISubrange depending on the language. This might not be a problem specific to Fortran: SPIR-V's Source Language enum currently has only a few languages.
This might not be an issue in the translator, but starting the discussion here.
PR 1074 highlights an issue with the representation of source languages that are not in the Source Language section of the core SPIR-V specification. We currently cannot represent the "Fortran" source language in a SPIR-V
DebugCompilationUnit, which matters for the LLVM IR Verifier that has different rules for verifyingDISubrangedepending on the language. This might not be a problem specific to Fortran: SPIR-V's Source Language enum currently has only a few languages.