Issue 135905
Summary [OpenCL][SPIR-V] Compilation of OpenCL to Vulkan SPIR-V crashes
Labels new issue
Assignees
Reporter cyanreg
    Source:
```
void main(void) { }
```

Command:
```
./build/bin/clang-21 --target=spirv64v1.6-unknown-vulkan1.3 test.cl
```

Result:
```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: ./build/bin/clang-21 --target=spirv64v1.6-unknown-vulkan1.3 /home/lynne/projects/ffmpeg_upstream_999/libavfilter/opencl/transpose.cl
1.	Compilation construction
2.	Building compilation jobs
3.	Building compilation jobs
#0 0x0000561cd8e271c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/lynne/projects/llvm-project/llvm/lib/Support/Unix/Signals.inc:808:3
#1 0x0000561cd8e24f24 llvm::sys::RunSignalHandlers() /home/lynne/projects/llvm-project/llvm/lib/Support/Signals.cpp:105:20
#2 0x0000561cd8e252f0 SignalHandler(int, siginfo_t*, void*) /home/lynne/projects/llvm-project/llvm/lib/Support/Unix/Signals.inc:418:13
#3 0x00007fee3794bdf0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0)
#4 0x0000561cd9970fc3 clang::driver::ToolChain::buildLinker() const (./build/bin/clang-21+0x7977fc3)
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to