Enable the assert that got all this dominator work started.
[oota-llvm.git] / lib / Analysis / ScalarEvolutionExpander.cpp
index c83abd2e72b7f98c08a11c6358f15b95a63be5a6..c185502afb005e6cc5028477f8da3cf397d98651 100644 (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();