summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-10-02 18:38:23 +0000
committerDevang Patel <dpatel@apple.com>2008-10-02 18:38:23 +0000
commit0db9d67f9ab80e327aa93c1def5d35ef067b8f5c (patch)
tree070ab0c852fc9ab61a06c3560b704f2428c73724 /llvm/lib
parentb25f4637ddf025381418f318ec1850a9a54e9a53 (diff)
downloadbcm5719-llvm-0db9d67f9ab80e327aa93c1def5d35ef067b8f5c.tar.gz
bcm5719-llvm-0db9d67f9ab80e327aa93c1def5d35ef067b8f5c.zip
Remove redundant check.
llvm-svn: 56960
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Verifier.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index 527b1da87e2..a3d33176ef5 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/lib/VMCore/Verifier.cpp
@@ -483,15 +483,6 @@ void Verifier::VerifyFunctionAttrs(const FunctionType *FT,
Assert1(!(MutI & (MutI - 1)), "Attributes " +
Attribute::getAsString(MutI) + " are incompatible!", V);
}
-
- Attributes RAttrs = Attrs.getRetAttributes();
- for (unsigned i = 0;
- i < array_lengthof(Attribute::MutuallyIncompatible); ++i) {
- Attributes MutI = RAttrs & Attribute::MutuallyIncompatible[i];
- Assert1(!(MutI & (MutI - 1)), "Attributes " +
- Attribute::getAsString(MutI) + " are incompatible!", V);
- }
-
}
static bool VerifyAttributeCount(const AttrListPtr &Attrs, unsigned Params) {
OpenPOWER on IntegriCloud