[llvm-commits] [PATCH] Additional SD-Node Cleanup after Combining Pass
Hal Finkel
hfinkel at anl.gov
Fri Apr 13 11:03:18 PDT 2012
I've attached an updated patch, this time placing the call to remove
dead nodes inside Combine(). Please review.
Thanks again,
Hal
On Thu, 12 Apr 2012 22:24:37 -0700
Evan Cheng <evan.cheng at apple.com> wrote:
>
>
> On Apr 8, 2012, at 1:08 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> > On Sun, 08 Apr 2012 19:57:15 +0200
> > Duncan Sands <baldrick at free.fr> wrote:
> >
> >> Hi Hal,
> >>
> >>> Ping. (This is a one-line change, and I'd like to get this fixed
> >>> for Gabor).
> >>
> >> isn't it a bug that the DAG combiner isn't deleting dead nodes?
> >
> > It is certainly a bug that *something* is not deleting the dead
> > nodes. Are you suggesting that the call to
> > RemoveDeadNodes() should actually come from Combine()? or that
> > there is some deeper structural problem?
> >
>
> Yes, it seems like the individual passes should be responsible for
> deleting dead nodes.
>
> Evan
>
> > Thanks again,
> > Hal
> >
> >>
> >> Ciao, Duncan.
> >> _______________________________________________
> >> llvm-commits mailing list
> >> llvm-commits at cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
> >
> >
> > --
> > Hal Finkel
> > Postdoctoral Appointee
> > Leadership Computing Facility
> > Argonne National Laboratory
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sd_cleanup_2.patch
Type: text/x-patch
Size: 2286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120413/c6b76ec5/attachment.bin>
More information about the llvm-commits
mailing list