[llvm] [SPIR-V] Improve type inference: fix types of return values in call lowering (PR #116609)
Vyacheslav Levytskyy via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 12:31:43 PST 2024
VyacheslavLevytskyy wrote:
One test case that fails is not related to this PR and wasn't changed in the PR. The fails is about spirv-val complaining that debug-info/debug-type-basic.ll produces invalid SPIR-V code:
```
+ /mnt/build/bin/spirv-val
+ /mnt/build/bin/llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info -O0 -mtriple=spirv64-unknown-unknown /__w/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/debug-info/debug-type-basic.ll -o - -filetype=obj
error: line 86: NonSemantic.Shader.DebugInfo.100 DebugTypeBasic: expected operand Flags must be a result id of 32-bit unsigned OpConstant
%52 = OpExtInst %void %49 DebugTypeBasic %51 %uint_8 %uint_2 %20
```
https://github.com/llvm/llvm-project/pull/116609
More information about the llvm-commits
mailing list