[llvm-commits] [llvm] r56960 - /llvm/trunk/lib/VMCore/Verifier.cpp
Devang Patel
dpatel at apple.com
Thu Oct 2 11:38:23 PDT 2008
Author: dpatel
Date: Thu Oct 2 13:38:23 2008
New Revision: 56960
URL: http://llvm.org/viewvc/llvm-project?rev=56960&view=rev
Log:
Remove redundant check.
Modified:
llvm/trunk/lib/VMCore/Verifier.cpp
Modified: llvm/trunk/lib/VMCore/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Verifier.cpp?rev=56960&r1=56959&r2=56960&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Verifier.cpp (original)
+++ llvm/trunk/lib/VMCore/Verifier.cpp Thu Oct 2 13:38:23 2008
@@ -483,15 +483,6 @@
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) {
More information about the llvm-commits
mailing list