Enable the assert that got all this dominator work started.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2012-02-26 02:29:18 +00:00
parent c987f4cf6c
commit 5b04cfb785

View File

@ -44,7 +44,7 @@ Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty,
BasicBlock::iterator BIP = Builder.GetInsertPoint();
// FIXME: enable once our implementation of dominates is fixed.
// assert(BIP == IP || SE.DT->dominates(IP, BIP));
assert(BIP == IP || SE.DT->dominates(IP, BIP));
// Check to see if there is already a cast!
for (Value::use_iterator UI = V->use_begin(), E = V->use_end();