[PATCH] SimplifyCFG: Don't duplicate calls to functions marked noduplicate

James Molloy james at jamesmolloy.co.uk
Mon Oct 21 12:26:38 PDT 2013


Updated patch LGTM.


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131021/aacae34d/attachment.html>


More information about the llvm-commits mailing list