<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/91559>91559</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Gisel Combiner Limits
</td>
</tr>
<tr>
<th>Labels</th>
<td>
question,
llvm:globalisel
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tschuett
</td>
</tr>
</table>
<pre>
I ran into limits on the size of patfrags:
```
def extract_vector_element_cast_frags : GICombinePatFrag<
(outs root:$dst, $src, $idx), (ins),
!foreach(op, [G_ADDRSPACE_CAST, G_FPEXT, G_FPTOSI, G_FPTOUI, G_FPTRUNC, G_INTTOPTR,
G_PTRTOINT, G_SEXT, G_SITOFP, G_TRUNC, G_UITOFP, G_ZEXT, G_ANYEXT],
(pattern (G_EXTRACT_VECTOR_ELT $dst, $src, $idx), (op $src, $x)))>;
```
It is too large there is a lower limit.
Is there a limit on how many patterns I can register with e.g. G_EXTRACT_VECTOR_ELT as the root?
My tests failed, it looked liked there were patterns that I did not register or there were suddenly wildcard patterns.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMVF2PqzYQ_TXmZXQjYiCBBx7YJERIt5soYavbviADE3Dr4NQebu7211d8KNmV9qHIMmc8M-eMYWxhrWw6xJgFLyzYOqKnVpuYbNX2SOSUun6PMzCiA9mRBiWvkizoDqhFsPJfBH2Bm6CLEY1lXsLcLXMTtnLnMZo1XgB_kREVFT-xIm0KVHjFjopKWCrGZGBeAvtso6-l7PAoKDWiYd5mogBgPNQ9WTBa0yDE_doS4xtg3LemmpGsfzEeTUYoOzsZT47lRRsUVTuw3caw4GVfJNvt6XxMNrtik5zzYXlfpMfdjwfMD-fsid-e-PT2upmM7DXPD8f89EHu87MvjvkpP2SvM-v5wX_O8kN6nPAHxrcPy38-gpPXPwYcbL8SYjy8CSI03QD3xe5Hfko2efH7bpMfTsXuew7_58Pp22fn5BqHt2Pey5d_OSOQFkhrUMI0OHSIwWFJgNJ3NFPzLObcKcXOUWJyDo3V6jtcRfcO80YsZFCJDgw20hIauEtqARfNAr7cnxg55zZJJ53f3oHQkoWLkArrYVeSQGn9N9ag5DBPddyH6SFMrSDIoJY1dJqeFWjzMdz2dY2deoe7VHUlTP0gWDh17NWRFwkH4-V6GXBv6buh08ZlGaKPvrv2Sz9ww5UIL0u3xkp4l1UURYEjY-5y3w3cyA2WrhsuQnclxNr3qtpfB9VqzXwXr0KqhVI_rwttGkda22McLYMgcpQoUdnxVHP-T4-WpO4Y50PPcD6kMC9plC6FkhbV4Am2jokHz7eybyzzXSUt2Sc9SVIY74dwmA-pge_jfeD0RsUt0W28AXjKeNpIavtyUekr4-moN72-3Yz-CytiPB3rtYynY8n_BQAA__9C42BH">