<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/99440>99440</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Generate `TypeID` for each `TargetExtType` to prevent strcmp
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
4vtomat
</td>
</tr>
</table>
<pre>
Is there a mechanism to avoid strcmp? We can generate category ID for target extension types.
_Originally posted by @wangpc-pp in https://github.com/llvm/llvm-project/pull/97992#discussion_r1669870979_
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkbGO3CAQhp8GN6NbYWDtpaC4aONoqzSRUq6wPWsTYUAw3ju_fWRfTqmvAcEvjf75PluKmwKiYedv7Hyt7EpzzEY9KS6Wqj6Om7kVoBkzgoUFh9kGVxagCPYZ3QiF8rAkJjv4jTDYABMGzJb2B-EU8wa3KzxiBrJ5QgJ8JwzFxQC0JSwnxq-Mv36c95_ZTS5Y7zdIsRCO0G_AFH-zYUrDS0rgAsxEqTD5ykTHRDc5mtf-NMSFic775-f1knL8gwMx0aXVeyY63WotmJCjK8Na9gr3XDeNvrRct_r-UQGq0chRS20rNHUranFpzpe2mo0eH6h0L_k4SjvoRgupm8cFha352PdYOSO4ULytL7zlWrUnVPZhuRT20SuUsmaK42KdP-39TjFPlStlRaO1UrzytkdfDhNCBHyDI2RC7GKyOXbq16kwxb0rVP5PIUcezY9P8Kzhv7aEtytr-EEe7TAfv4eB7--0x3tIEVLGJwb657Faszdf5nsULTvhY5GnEX8DAAD__2B-wpY">