Issue 108976
Summary Clang 18.1.3 woa64 compiler crash
Labels clang
Assignees
Reporter morgolock
    Hi

I used to build https://github.com/ARM-software/ComputeLibrary with the toolchain `LLVM-16.0.6-woa64.exe` and VS22.

Now the latest version of VS22 requires Clang 17 or later. When I try to build with the toolchain `LLVM-18.1.3-woa64.exe` I get the following compiler crash:

```
clang-cl @C:\Users\pabtel01\AppData\Local\Temp\tmpi88iadhj.lnk
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: clang-cl @C:\\Users\\pabtel01\\AppData\\Local\\Temp\\tmpghrxao9s.lnk
1. <eof> parser at end of file
2.      Code generation
3. Running pass 'Function Pass Manager' on module 'src\cpu\kernels\CpuElementwiseUnaryKernel.cpp'.
4.      Running pass 'AArch64 Instruction Selection' on function '@"?validate@CpuElementwiseUnaryKernel@kernels@cpu@arm_compute@@SA?AVStatus@4@W4ElementWiseUnary@4@AEBVITensorInfo@4@1@Z"'
Exception Code: 0xC0000005
#0 0x00007ff6cd91c594 (C:\Program Files\LLVM\bin\clang-cl.exe+0x17bc594)
#1 0x00007ff6cd91af20 (C:\Program Files\LLVM\bin\clang-cl.exe+0x17baf20)
#2 0x00007ff6cd9190d4 (C:\Program Files\LLVM\bin\clang-cl.exe+0x17b90d4)
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 18.1.3
Target: aarch64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
clang-cl: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-cl: note: diagnostic msg: C:\Users\pabtel01\AppData\Local\Temp\CpuElementwiseUnaryKernel-ad6fb2.cpp
clang-cl: note: diagnostic msg: C:\Users\pabtel01\AppData\Local\Temp\CpuElementwiseUnaryKernel-ad6fb2.sh
clang-cl: note: diagnostic msg:

********************
```
The files CpuElementwiseUnaryKernel-ad6fb2.cpp and CpuElementwiseUnaryKernel-ad6fb2.sh are included in the zip below
[CpuElementwiseUnaryKernel-ad6fb2.zip](https://github.com/user-attachments/files/17029287/CpuElementwiseUnaryKernel-ad6fb2.zip)


_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to