<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62869>62869</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
integral/enum ext_vector_type inconsistency between C and C++
</td>
</tr>
<tr>
<th>Labels</th>
<td>
c++,
clang:frontend
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
porglezomp
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
porglezomp
</td>
</tr>
</table>
<pre>
`ext_vector_type` has inconsistent behavior between C and C++ when doing operations between one vector and one scalar operand. C++ doesn't handle enumeration types and promote them like C does.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskdGOozwMhZ_G3ESDqAMULnIx7S9eYxQSF_JvSFBiOtt9-hW0mlmt9ipyZH_2OUfn7KZApKC5AOIa0-TpV1xWQITmv0JvPMekvv-LMdqHgrain_xxJ8MxffBjJWgrMessXDAxZJeZAouRZn13MYmR-JMoiKvQwYor4AXwIj5nCsJGFyYRV0qaXQz5qzcGEs8Fx9BeZqO9Ts_mYMsvkI2UA-CZxayD9SQobMsLKPbr8oFYU1wik-CZFuHdDxLXY7QsrJK2l70uSJ3arj53p15iMSsa6xpN15wkGqnr9iYrK5vO9G3b29MZC6ewQlk1iKeu6RoseyNv51Zqo8dK9jcLdUWLdr70_r6UMU2Fy3kj1WLX9oXXI_n8Mt881ezO43WvvQ4TyPdbioEp2FckSe2ot3GbMtSVd5nzN5wde1IuME1Je8Bhd0L8ldWfIZnHv8MptuTVzLxmkO-AA-AwOZ63sTRxARz2ja_nbU3xfzIMOBzaMuBwyPsdAAD__2kZyAI">