[llvm-commits] [llvm] r151471 - /llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

Rafael Espindola rafael.espindola at gmail.com
Sat Feb 25 18:29:19 PST 2012


Author: rafael
Date: Sat Feb 25 20:29:18 2012
New Revision: 151471

URL: http://llvm.org/viewvc/llvm-project?rev=151471&view=rev
Log:
Enable the assert that got all this dominator work started.

Modified:
    llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

Modified: llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp?rev=151471&r1=151470&r2=151471&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp Sat Feb 25 20:29:18 2012
@@ -44,7 +44,7 @@
   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();





More information about the llvm-commits mailing list