<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/107753>107753</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] Add a builtin for masked stores of vectors
</td>
</tr>
<tr>
<th>Labels</th>
<td>
enhancement,
clang:frontend
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
philnik777
</td>
</tr>
</table>
<pre>
LLVM has an overloaded `llvm.masked.store` intrinsic, but there is no generic way to do a masked store from C/C++ code. AFAICT it's only exposed via target-specific intrinsics. It would be great if there could be a `__builtin_masked_store` or something like that to make it easier to write generic code.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkkFvqzoQhX-N2YyKHAOlWbBIEyFV6ts9vW002APMi7Eje0hv__1VaG6ru7I0ls85n89gzjwFok41r6o5FbjKHFN3ndkHvrRtWwzRfXbv7__9AzNmwADxRslHdORAPWvvb0u5YL6QK7PEROpZAwdJHDJbZY4wrAIyUyLgDCHCRIESW_jAT5AILgLClwBsAjCmuMBRmf6ozKsyr2CjoxIO_eHt-C-wKNNmiMF_Av26xkwObowgmCaSp3wlyyPbnwy5hDeBj7h6BwPBlAgFeHxksn_meKc5n4eVvXA4fyU6fyPFBDkuJDOHCTxfCGRGuQMseCFgAcLMlO6Tj8RC35xbeqVPSh8K11VuX-2xoG7XmuZF123dFHO3r4yptK4Ha8kijlhhQxr3jnZaV_um4M5oU-u9ftnVO2OacnwZzYhkh9aONdpG1ZoWZF9uhcQ0FZzzSt1Ot21TFR4H8nlr2RgKMwZLCwVRxihzVMZYj2FS1WFMMQgFd79oTkXq7npPwzplVWvPWfKPg7D4bXOO2-PmBAfnAOHxhzDG9FezGeIIN7ISUy7W5LtZ5JpVdVCmV6afWOZ1KG1clOnvJo_j6Zri_2RFmX5jysr0D6xbZ34HAAD__2EI6n8">