<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60703>60703</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Reg2Mem]Still crashing w.r.t. CatchSwitchInst
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Naville
</td>
</tr>
</table>
<pre>
Following my previous attempt with @nikic that attempts to add support to it, that patch will still broke for nested CatchSwitchInsts, now I'm not sure what's the "correct" implementation, given the nest depth is unknown.
[Godbolt](https://llvm.godbolt.org/z/c5aPjPGq3)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckcFupDwQhJ_GXFpBphlgOHBIMiLK4f8VbZ7A4B7sxNis3QzKPv0Kkmi1e2nL6ip1qT6Vkp08USeqB1FdMrWyCbH7X92sc5QNQX90fXAubNZPMH_AEulmw5pAMdO8MGyWDYiT9PbdjsBG8fcqAQdQWkNalyVE3r-WBT5-qhbFo4HNOgeJ9znE8E5wDRE8JSYNj7vidbM8mmefOO1WHzZ4FtjM4ANDWiPBZhQLbBKwIRCIY4iRRhaIYOfF0UyeFdvgd_9kb-QP5X4ENC1swCZY_bsPm8-FvAh5_zWrh6egh-BYVBeBZ8O8JFHeC-wF9s7d5nz63OchTgL7XwL7sVIvby9PP0uBbaa7UrdlqzLqirqpsZV10WamQ5SnstG6vmp9VcNZlsWoa32usFaIbZnZDiWWEouywKKu2pyKhkpFZ12qk2yuWpwkzcq6_IgR4pTZlFbqatnIMnNqIJe-ocZuF90N65TESTqbOP2xsWV34P9BE_5Hs6gurweOMapkdupbHnPO_6WRrdF1fzcyWTbrkI9h_qrn67lbYng7iPRHyCSwP3L-DgAA__8sRtI4">