<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/141107>141107</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[CIR] Failing tests with `MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Andres-Salamanca
</td>
</tr>
</table>
<pre>
When building with the CMake flag `-DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON`, two tests in the CIR dialect are currently failing. This was identified during the upstreaming process and confirmed in the incubator as well. Relevant discussion: https://github.com/llvm/llvm-project/pull/140649#discussion_r2096634849
**Failing tests:**
```
********************
Failed Tests (2):
Clang :: CIR/CodeGen/loop.cpp
Clang :: CIR/Transforms/switch.cir
********************
```
@xlauko
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykU9FumzAU_RrzclVkjIHwwANNYIvWZlUabXuLjO2AV8dGtmnWv58gq6o-7KGbdCRkcXXOPffew7xXvZGyQtktyjYRm8JgXVUb4aS_eWSanZnhLOqseKm-D9JANyktlOnhosIAYZCwvmdPEk6a9YByfLO5v9vuj82uvr1rjs2Ph2b3uP3WHB_qw6HZ7471w_a4_tysvzyidPN1h3KMyBrCxUKQPnhQ5kq63YNQTEsegDkJfHJOmqBf4MSUVqaP4TAoDxfmQQlpgjopKUBMbu5tZphGH5xk5_k9Osul98CMAG7NSbmzFK9SyvCpY8E6YB4uUusY9lLLZ2YCCOX55L2yBqU1DCGMHqU1Ii0iba_CMHUxt2dEWq2fXz83o7M_JQ-ItOOkNSJtQnFOS0TSN7qjI7jM85SuaIlwjciM9mrtOolFZwFekOM_eK3-R-BFRgo4LPNGZEUQKWc1XAOsNTM9zK-0npeASLu2Qn6SZnZn7Rjzcfxb5cEx40_WnT0irb-owIeYK_f_Hb8zT_EvzaYnC5GoUlGmJYtklRS0KFNa4DQaqo7SJF91aZETkXG64pgXGaWky1Kcr_IiUhXBJMMZIUlBMpzG5JSQMiesEF1CyxVDFMszUzqeFxpb10fK-0lWCU0SXESadVL7JTSEGHmB5S8iZM6Qq5Yr6KbeI4q18sG_0QQV9JK2eWLZBt6t_JoplOOPRiianK4-fJ1L0365z8XVc0V-BwAA__-9NTY5">