[PATCH] SimplifyCFG: Don't duplicate calls to functions marked noduplicate
Tom Stellard
tom at stellard.net
Mon Oct 21 13:21:55 PDT 2013
On Mon, Oct 21, 2013 at 08:26:38PM +0100, James Molloy wrote:
> Updated patch LGTM.
Thanks, r193115.
>
>
> On 21 October 2013 19:57, Tom Stellard <tom at stellard.net> wrote:
>
> > On Thu, Oct 17, 2013 at 12:44:13PM -0700, Matt Arsenault wrote:
> > > On 10/16/2013 01:54 PM, Tom Stellard wrote:
> > > >From: Tom Stellard <thomas.stellard at amd.com>
> > > >
> > > >
> > > >+ if (CI->hasFnAttr(Attribute::NoDuplicate))
> > > >+
> > > How about using CI->cannotDuplicate()?
> > >
> >
> > Attached is an updated version of the patch with this change.
> >
> > -Tom
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
> >
More information about the llvm-commits
mailing list