<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylUsFunDAQ_Rq4jLoCs4jlwCHbqFKq9lL1BwZ7FtwYm9rj3eTvO5AoUaPeKlmGYfwe773xGMzz8DUnBoSI3oQFeLZ-ggfwga0mUzR3RXVfVK_7928PP-B8BoxTXshzgsQYmQykvK4h8gZ2QSPb4KUZFgK2suEUCvUZxsxwI_B0pQhLuAqQA0T6nW3coDzTAsGDFjTHrDeaA8CdUGU9bwwoHF7PEC5yyBDYBKi1NSIGnXuGnDYeu6zOasvvWoTl5yyHZU3Eu86iPa8xTJFSslcS7MU-ieP2vlCnmXlNm3n1RVakq6VbOjh3XQ4hTvLpvq67Y9UUqt9NIb-YXYP1u8U0h-wklptlUSu-wNAFs2MhfTVMb-o-WgaZBcx4JdDO7jGvmET71oDsH324-Q28hbfgo6TAQE8vlg-lGRrTNz2WmHkOcXDI7CmWObrhb1-T5TmPBx0WKTZzr49Pkssv0iylTSlTkpe2UV1fzsPJKFRdq5pjezqasR47NLq_jPWp6kZUunQ4kkuDpFsotTgb5Xc6RJJKsi3_X4MdVKVUVdd9Van62B1GurRtbXo02B0VNsWxogWte5tXKSFslGOekjSdTfw-zFKitZMn2iWLQrbsaPjHVX8Z6cfhpXLXN-zi_gCvhSG7>53279</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
MLIR BB arguments should require locations
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir:core
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lattner
</td>
</tr>
</table>
<pre>
Just a random thing I noticed:
MLIR BB arguments started supporting locations some time ago, but we never moved to requiring them on construction. As such, a bunch of code is accidentally using implicit locations. This is getting [progressively fixed](https://reviews.llvm.org/D117403) but at some point we should switch the default: require location on construction and have clients pass in an unknown loc to make it explicit.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUdFunDAQ_Bp4WRWBOY67Bx5yPVVK1b5U_QFjL-DE2NRec8nfd-GiRI0qWcbLesYzs73Xr933FAkkBOm0n4Em40Z4BOfJKNRZ_ZCV16x823_-ePwFlwvIMKYZHUWIJAOhhpiWxQfawNYrScY7bvoZgQxvcvSZ-Ap9IrghOFwxwOxXBpKHgH-SCRuUJpzBO1CMppDURlMAPDBVUtPGIJnDqQn8wJc0gokglTKaxUhrXyHFjcfMizXK0IcWZvk98WVeI9KuM2suS_BjwBjNiowdzAs7bq6ZOE1ES9zMi2-8Aq4Gb7Gwdp0LH0b-da2q9lDWmTjvpiTdzS7euN1inHyyHMvNEKtlX6BxkMkSk74Zxnd1ny0DzwImuSIoa_aYFxlZ-9aA5J6dv7kNvIU3y2dOgQBf7paLXHe1PtdnmZMhi91_ZnbX9llFzFOw3b_OR0NT6gvlZy42-2-fL5zcEyri0sSYMPKhqUV7zqfuVOpmwLbvj-JYq6Gu-kHJY1We-lM9iLLNrezRxo7zz4SYrQn8nPIBueL0c9OJUoiyqs5lKapDW_Q4NE2lz1LL9iBknR1KnKWx7_PIQ7eL6tMYuWlNpI9h5RydGR3i_iDzy0STZ4QkchjyXX-3i_8LenkMRg">