<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61569>61569</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[mlir][verifier] Check that all IR is using the same MLIR Context
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir:core
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rkayaith
</td>
</tr>
</table>
<pre>
Mixing up contexts when creating IR is an infrequent but hard to debug error. It'd be nice if the verifier checked for this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxE0Mtu3SAQxvGnwZtRLBvf5AWLXGTpSM0mbzDA2NBgcwpDmrx9ZTdVVyzQB_r_MGe_HURKDE9ieKmwsItJpXf8Qs-u0tF-qVf_6Y8Nyh1MPJg-OcNvRweYRMjnze0NfAY8wB9rol-FDgZdGBwmCxzBki4bUEox1XBjIScLmuDwhsCvwI7gg5JfPSUwjsw7WVhjAnY-15VVnZ27GStS7TjN3diMg6ycQjuv49QhtdisujFketkag9Li2I-9qbySjeyaTrZN2_StrFEOaCerO1rN1NMs-oZ29KEO4WOvY9oqn3MhNbbDOFcBNYV8yUi5B59E92hiIiHlSZXUuXrQZcuib4LPnP-_w57DhXrthhcxPP0rFMMLPJ-RwA4ZMIRvv5JPyxMj407w-uP2Bs9_wauSgnLM9yy6RyEXIZfNsyu6NnEXcjn__T4e7in-JMNCLldMFnK5ev4EAAD__19_obA">