commit | bbbc2b1140e67f0c8783d4f8dd3977a482e1211e | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@google.com> | Mon Mar 17 16:19:07 2014 +0000 |
committer | Eli Bendersky <eliben@google.com> | Mon Mar 17 16:19:07 2014 +0000 |
tree | 9f4adafcb646896959ab3bbff95260a9d125309e | |
parent | 133aacf0dd1d7d8c7828594e5cd2e9595e0331ed [diff] |
Consistent use of the noduplicate attribute. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204049 91177308-0d34-0410-b5e6-96231b3b80d8