[PATCH] aarch64: Don't assert recog success in ldp/stp pass [PR113114]

2024-01-19 Thread Alex Coplan
Hi, The PR shows two different cases where try_promote_writeback produces an RTL pattern which isn't recognized. Currently this leads to an ICE, as we assert recog success, but I think it's better just to back out of the changes gracefully if recog fails (as we do in the main fuse_pair case). In

Re: [PATCH] aarch64: Don't assert recog success in ldp/stp pass [PR113114]

2024-01-22 Thread Richard Sandiford
Alex Coplan writes: > Hi, > > The PR shows two different cases where try_promote_writeback produces an > RTL pattern which isn't recognized. Currently this leads to an ICE, as > we assert recog success, but I think it's better just to back out of the > changes gracefully if recog fails (as we do