Delete a dead check.
authorDan Gohman <gohman@apple.com>
Sun, 11 Apr 2010 19:29:41 +0000 (19:29 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 11 Apr 2010 19:29:41 +0000 (19:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100983 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/IVUsers.cpp

index 78de8c69ae3cd6d5d7474228fe92417aff72f5cd..9643d16cd5afad2085c55bb6f677325669e36153 100644 (file)
@@ -82,7 +82,6 @@ bool IVUsers::AddUsersIfInteresting(Instruction *I) {
 
   // Get the symbolic expression for this instruction.
   const SCEV *ISE = SE->getSCEV(I);
-  if (isa<SCEVCouldNotCompute>(ISE)) return false;
 
   // If we've come to an uninteresting expression, stop the traversal and
   // call this a user.