[VirtualInstruction] Remove assertion. NFC.

ScopStmt::contains is currently implemented on the basis of BasicBlock
and does not take the instruction list into account. Therefore any
instruction copied by -polly-optree into another statement currently
triggers that assertion.

Remove that assertion for now. We might re-enable it when the
implementation of ScopStmt::contains changes.

llvm-svn: 309421
This commit is contained in:
Michael Kruse 2017-07-28 19:26:24 +00:00
parent 6848e05d8b
commit 0137d80ad4
1 changed files with 0 additions and 2 deletions

View File

@ -242,8 +242,6 @@ public:
VirtualInstruction(ScopStmt *Stmt, Instruction *Inst)
: Stmt(Stmt), Inst(Inst) {
assert(Stmt && Inst);
assert(Stmt->contains(Inst) &&
"A virtual instruction must be exist in that statement");
}
VirtualOperandIterator operand_begin() const {