Re: [PATCH v1] Widening-Mul: Fix one ICE when iterate on phi node

2024-09-27 Thread Richard Biener
On Fri, Sep 27, 2024 at 9:52 AM wrote: > > From: Pan Li > > We iterate all phi node of bb to try to match the SAT_* pattern > for scalar integer. We also remove the phi mode when the relevant > pattern matched. > > Unfortunately the iterator may have no idea the phi node is removed > and continu

[PATCH v1] Widening-Mul: Fix one ICE when iterate on phi node

2024-09-27 Thread pan2 . li
From: Pan Li We iterate all phi node of bb to try to match the SAT_* pattern for scalar integer. We also remove the phi mode when the relevant pattern matched. Unfortunately the iterator may have no idea the phi node is removed and continue leverage the free data and then ICE similar as below.