From 5b04cfb78514cf4dbed4b989a3b07310a91df7f7 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 26 Feb 2012 02:29:18 +0000 Subject: 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 --- lib/Analysis/ScalarEvolutionExpander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/ScalarEvolutionExpander.cpp') diff --git a/lib/Analysis/ScalarEvolutionExpander.cpp b/lib/Analysis/ScalarEvolutionExpander.cpp index c83abd2e72..c185502afb 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(); -- cgit v1.2.3