<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58815>58815</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-reduce] Replace invoke with call
</td>
</tr>
<tr>
<th>Labels</th>
<td>
llvm-reduce
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nikic
</td>
</tr>
</table>
<pre>
llvm-reduce currently often leaves behind unnecessary invokes. We should try to replace
```
%x = invoke @foo()
to label %cont unwind label %lpad
```
with
```
%x = call @foo()
br label %cond
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UsluwyAU_Bq4oFo2Nl4OHFpF_YBeemZ5iWkIRCxp8_fFTtqmVVTpCXgLM8MI6fWZW3s6PATQWQFROQRwyZ6J3yZwxII4QSQSZuM0yc6BghhFOBPjTn4PsSKvQOLss9UklXLyJMDRCgWo3qD68br29TUuKWUfBLWbKwhBXb31HtER0ekyQRYgKyRYUoaVd6mQvy8avov2KPRd9HeT5v9plbD2DqkMvyj_omPgTd8PbGBt3WPNWz21k8DJJAscsacbHxHbkJeLDV9vXFStxDgHy-eUjhG1RdJziV3pZVkpfyjJAnPdHo7Bv4FKJTUxZojlwMaxYXjmEoZhgK1oe0nZyGAcQapOywF6pUdQeH1KXIQhSm-1UVrkYcNpTWnT1F3DaNP1lRq3nR4UbbuJymaixR84CGOr5W7lww6Hy1eReRdL05qY4k9TxGh2DlYnFnyR0-wDd2ZvFF7V81X6J5FMvyM">