<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/115083>115083</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AMDGPU] Sprintf test fails after amdgpu-attributor pass
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jhuber6
</td>
</tr>
</table>
<pre>
The IR after the `amdgpu-attributor` pass causes the return value of the `sprintf` call to fail in this unit test https://godbolt.org/z/h8x47PjKv. https://github.com/llvm/llvm-project/blob/c1cec8c0dc5b0296f0bc86745b867ff72c0a21e3/libc/test/integration/src/stdio/sprintf_size_test.cpp#L4
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUks1unTAQhZ_GbKwgM2ADCxapIqqqrRT1Zx3ZZgBHvhjZ49s2T1_BTVSpXXU1izkzmjPf0Sm5ZUMcmHzH5EOhM60hDs9rNhhVYcL0a_i2Iv_wheuZMHJakTMl9GVa9nyniaIzmUJkSvBdp8StzgnTqYtIOW78qn1GHua32bRHt9F8TFjtPafAZ-08dxun1SWeN0ecMBFfifbE6nsGI4NxCZMJnsoQFwbjC4Nx7X427ePzx2v5t9TRmk1pw4XB6P31rdztMTyjJQaj8cEwGG1l0XZWTFYaAb2ahbGdahtpOtXOcwtWaKiwPhY4YxmMx2UMRrcRLlGTCxuDMcWjlWhy4ag3h0_JveDToS_tvjOoPzXFNNRTX_e6wKFqa9E1qpeiWAerZwuTVKqTk4VGgW6rqplQomp1PevCDSCgqSohAZq-EqXsUdvJdqaebaNayxqBF-18eRg9nlS4lDIOVSVFVxdeG_Tp5Ayw4Q9-dhnAgT0O53dMXhJrhHeJ0p815MifAbn__PD-8TuTD_zrzeCN0gEvvcbjn1ycoShy9MN_EzoPTAzGVwfXAX4HAAD__zCY4Bo">