PATCH: Consistent use of the noduplicate attribute

Duncan P. N. Exon Smith dexonsmith at apple.com
Sat Mar 15 15:12:09 PDT 2014


LGTM.

On 2014 Mar 14, at 16:04, Eli Bendersky <eliben at google.com> wrote:

> Hello,
> 
> The "noduplicate" attribute of call instructions is sometimes queried directly and sometimes through the cannotDuplicate() predicate. This patch streamlines all queries to use the cannotDuplicate() predicate. It also adds this predicate to InvokeInst, to mirror what CallInst has.
> 
> In addition, setCannotDuplicate() is removed because it's not being used anywhere in the codebase.
> 
> PTAL,
> Eli
> 
> <noduplicate-consistent-use.1.patch>_______________________________________________
> 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