PATCH: Consistent use of the noduplicate attribute

Eli Bendersky eliben at google.com
Fri Mar 14 16:04:56 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140314/f3b23169/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noduplicate-consistent-use.1.patch
Type: text/x-patch
Size: 3521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140314/f3b23169/attachment.bin>


More information about the llvm-commits mailing list