[PATCH] SimplifyCFG: Don't duplicate calls to functions marked noduplicate
Matt Arsenault
Matthew.Arsenault at amd.com
Thu Oct 17 12:44:13 PDT 2013
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()?
More information about the llvm-commits
mailing list