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
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
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
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