forked from OSchip/llvm-project
[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:
parent
6848e05d8b
commit
0137d80ad4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue