From: Rafael Espindola Date: Sun, 26 Feb 2012 02:29:18 +0000 (+0000) Subject: Enable the assert that got all this dominator work started. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5b04cfb78514cf4dbed4b989a3b07310a91df7f7;hp=c987f4cf6ce4c847b61c5bc53ef30e642a0b9d51;p=oota-llvm.git 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 --- diff --git a/lib/Analysis/ScalarEvolutionExpander.cpp b/lib/Analysis/ScalarEvolutionExpander.cpp index c83abd2e72b..c185502afb0 100644 --- a/lib/Analysis/ScalarEvolutionExpander.cpp +++ b/lib/Analysis/ScalarEvolutionExpander.cpp @@ -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();