[llvm] r227717 - Removed assert that doesn't typecheck and breaks debug MSVC build.
Michael Kuperstein
michael.m.kuperstein at intel.com
Sun Feb 1 00:46:21 PST 2015
Author: mkuper
Date: Sun Feb 1 02:46:20 2015
New Revision: 227717
URL: http://llvm.org/viewvc/llvm-project?rev=227717&view=rev
Log:
Removed assert that doesn't typecheck and breaks debug MSVC build.
Modified:
llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp?rev=227717&r1=227716&r2=227717&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp Sun Feb 1 02:46:20 2015
@@ -556,7 +556,6 @@ bool llvm::UnrollLoop(Loop *L, unsigned
const MDNode *llvm::GetUnrollMetadata(const MDNode *LoopID, StringRef Name) {
// First operand should refer to the loop id itself.
assert(LoopID->getNumOperands() > 0 && "requires at least one operand");
- assert(LoopID->getOperand(0) == LoopID && "invalid loop id");
for (unsigned i = 1, e = LoopID->getNumOperands(); i < e; ++i) {
const MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i));
More information about the llvm-commits
mailing list