<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57615>57615</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
sub-optimal code generated by clang
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
BaoshanPang
</td>
</tr>
</table>
<pre>
GCC is creating much better code with the same optimization level:
https://godbolt.org/z/3hzMa6zMx
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdkEFuwyAQRU9jb1AsDIbYCxZNonYVqVcAMzZU2ESAk8anL3ZbVaoEzHwGzX-D8vop3s5nZCPqA8hk5xFNS2-QgpQgoN5rQA-bDEoGUJQTIH9LdrJrfutn5OAOrqAvBb4U-Oc0Kd3idkde8xq9Vt6lyocxqzVvatar5Ov1swRRc05YSyjDpRZUd7STZbLJgYiLOuxW0n1TjDBDkAk0Uk_UOzmP5RKc-OeWURdV9X7Kwrn7bzjcgv-APmVpY1wg5oQdec1KI-jQakVV5qg1Hxra8GM9kBbzppVAZF06qcBFUbBTQcgMD7S3yHnBLqUVBBOCO3zMkTFcdazneZ4Ga0zoAG3RYJikddXGsX1DGcSOpJYx5qKzMcW_oozRjjPAbpf7yyUZH8RJ-mjk_L6NvduLHf8LbA6PuA">