<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85396>85396</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Assertion `Ptr != End && "dereferencing end() iterator"' failed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcb314
</td>
</tr>
</table>
<pre>
On x86_64 in the last few days, I see a new assertion fail:
[mfx_h264_enc_common_hw-4ee304.sh.gz](https://github.com/llvm/llvm-project/files/14615865/mfx_h264_enc_common_hw-4ee304.sh.gz)
[mfx_h264_enc_common_hw-4ee304.cpp.gz](https://github.com/llvm/llvm-project/files/14615867/mfx_h264_enc_common_hw-4ee304.cpp.gz)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyskk2O3CAQhU9T3qCxcPFje8FiJh1LWSU3aGFTtolo3AI6PZPTR7bSyTITaTawQNT7Su-zOfslEhlQL6BOlb2VdUvGTaNoZDVu7s18jey102ctmY-srMSCzYXNdGfOvmXAT-wLy0TMskh3ZnOmVPwW2Wx9APEM_AT8caqXy_x6XlHLM8XpPG2XyxbP6_1JEgku67zWy09QJ8BuLeWa9_84AA6LL-ttrKftAjiE8ONxPV3T9p2mAjjMPlAGHBqpG9VpBTi8Jwz7d7JN1-uHwbX_hPud9qCrnBGuF72tyDRtwxXvpFTVari0bhREUrZNN4-St1KjbaUTMzVaycob5Ci5aFQjGqFk7Xrb9pxa3Urr7KxBcrpYH-odud7SUvmcb2Q6JXpdBTtSyIceiHvBxyMg7rYkc6w53pYMkgefS_47pfgSyDz_8QE0_1YSA2xAnNjn6BigBtQMEB0lmilRnHxcGEUH2AH2zBdKtmxpz8P2UIpcdUvB_HcDB_dewbHXrwAAAP__R__saA">