<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/140074>140074</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[OpenMP] Assertion `!isNull() && "Cannot retrieve a NULL type pointer"' failed.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
k-arrows
</td>
</tr>
</table>
<pre>
Reproducer:
https://godbolt.org/z/PzTa7re3n
```cpp
void f(int a, _BitInt(931) b) {
#pragma omp for collapse(2)
for (int i = a; i < b; i++)
;
}
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcUVGL2zwQ_DXrl-WCvLIj-0EPToLhg_uuR2mfi2xvErWKJSQ5x92vL_YFWgqLPUiaYWbHpGQvM7OG-gD1qTBLvvqofz2ZGP1bKgY_veuvHKKflpEjyA5Ed805pBVSD9Rf_DR4l3c-XoD6D6D-9eObUZHlDKKDvficMQQQ3d3bCc9AjZ0zGqAj_jjY_N-cgZpWlkAtDusH1GElkwzRXG4G_S3g2UccvXMmJAZqCKgF0eF2_lC0CPKEBuRhg0ccNgh02ObzPSLITV2d_jZYTFpOrWxNwbpUlZJUUquKqzZcy0aMrBpVi4lITudBUjmqWpSDLJvCahJUi7qsy1qUcr9rVdsOFY1nKVbmHirBN2Pdzrn7bV1UYVNaWJeVEKoqnBnYpa0CopnfcLsForWRqFfS07BcElTC2ZTTH5lss9u6-xJ4_v8V6hN2KXHM1s-4xqLSppfFOaBmWyvtgfYIREczzz5j5Bwt3xkNvnx_fsb8HhiDt3PmuBoghWdjHU-7YolO_9O8zddl2I3-BtSvnh6_pxD9Tx4zUL8lSUD9I-pd0-8AAAD__xMEt5s">