[PATCH 3/3] aarch64: Fix up debug uses in ldp/stp pass [PR113089]

2024-01-19 Thread Alex Coplan
As the PR shows, we were missing code to update debug uses in the load/store pair fusion pass. This patch fixes that. Note that this patch depends on the following patch to create new uses in RTL-SSA, submitted as part of the fixes for PR113070: https://gcc.gnu.org/pipermail/gcc-patches/2024-Janu

Re: [PATCH 3/3] aarch64: Fix up debug uses in ldp/stp pass [PR113089]

2024-01-22 Thread Richard Sandiford
Sorry for the earlier review comment about debug insns. I hadn't looked far enough into the queue to see this patch. Alex Coplan writes: > As the PR shows, we were missing code to update debug uses in the > load/store pair fusion pass. This patch fixes that. > > Note that this patch depends on

Re: [PATCH 3/3] aarch64: Fix up debug uses in ldp/stp pass [PR113089]

2024-01-22 Thread Alex Coplan
On 22/01/2024 17:09, Richard Sandiford wrote: > Sorry for the earlier review comment about debug insns. I hadn't > looked far enough into the queue to see this patch. > > Alex Coplan writes: > > As the PR shows, we were missing code to update debug uses in the > > load/store pair fusion pass. T

Re: [PATCH 3/3] aarch64: Fix up debug uses in ldp/stp pass [PR113089]

2024-01-23 Thread Richard Sandiford
Alex Coplan writes: >> > + writeback_pats[i] = orig_rtl[i]; >> > + >> > + // Now that we've characterized the defs involved, go through the >> > + // debug uses and determine how to update them (if needed). >> > + for (auto use : set->debug_insn_uses ()) >> > + { >> > +if