<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130748>130748</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Request for SVE support in Clang.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
morgolock
</td>
</tr>
</table>
<pre>
Hi,
I'm using clang 19.1.1 bundled with VS22 on Windows 11
```
c:\Users\user\acl>clang++ --version
clang version 19.1.1
Target: aarch64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\ARM64\bin
```
Arm Compute Library has many SVE kernels which currently cannot be built because `clang++` does not support SVE. So at the moment we can only build for the targets:
1. `-march=armv8-a`
2. `-march=armv8.2-a+fp16+dotprod`
Trying to build for ` -march=armv8.2-a+sve+fp16+dotprod` will result in errors.
I was wondering what the roadmap looks like for `clang++` for Windows. Is SVE support planed soon? Is it in the roadmap at all? Who are the relevant people or where is the best forum to discuss clang's issues on Windows?
We use the multi_isa binary in ACL which compiles various kernels with different ISAs (neon,fp16,bf16,dot,sve,sme) and then at runtime the best kernel is selected based on the cpu features detected. Unfortunately we are unable to compile our multi_isa build for ARM64 Windows because of the lack of sve support. SVE kernels would be specially useful when running ACL on Cobalt 100.
Thanks
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsVNFu27oS_Br6ZWFBoizHfvCDo9a4BVrgoknTxwuKXFm8obg6XNI-_vsDykqb9hQwIFlczuwMZ6mY7dkjHkTzKJoPK5XiQOEwUjiTI_266sjcDv-xQraiPIry-EnIhxESW38G7ZQ_Q7UvqqKCLnnj0MDVxgFenqQE8vDdekNXhqqCvH1bLr_yqEV9FE37jTGwaNrEGETTKu1E_XHGFfJRyEdYry8Y2JLPe2a-5f_CK8rjswpnjKI-glJBD9vNetLr6515PfJF55ohoDIwkkGXKydi-3e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