<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/96518>96518</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Uninitialized vector used in vector constructor does not warn
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
Use of a vector on its own initializer should cause a warning under `-Wuninitialized`:
https://godbolt.org/z/o4MnEK3vK
This likely has impact on vectors outside HLSL as well.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckUGP2yAQhX8NvowS4TEm4cCh1daqtNtTu-oZA2vTEog8kGjz6ys7jbaqhASIJ-a97xmiMCXvNes_s_6pMbXMedExXk670Zt0a8bs3vUrechvYODibckL5AShEORrgpBCCSaGm1-A5lyjA2sqeTBwNUsKaYKanF-ASb77WdOH3jHJWfeJ8XXNpZxpveHAcJiyG3Ms-7xMDIcbwyGLb-nLc3d5vst_zIEght8-vsNsCMLpbGxZfd0dEuRaKDgPX1--v4AhuPoY943TnVOdMo3X7aFVKNSx582spRIorXVKqM4cneql7VslO9EdOm7sWxM0chRcomgPKFq-H8fDQTkuuT0KlEdkgvuTCXG_sluNN4Goeq1k3x6baEYfaaOMmPwVtkeGuEJ_8K4TMcFjoEIfv5RQ4lbPGoT1T_D6L8JHIZW8g_BIDzYnKkvdzi57gpTLVkdTl6j_Yx3KXMe9zSeGwzr277Y7L_mXt4XhsJklhsM9zEXjnwAAAP__KKO5jQ">