[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

Chris Lattner sabre at nondot.org
Sat Jan 6 18:05:35 PST 2007



Changes in directory llvm/lib/Analysis:

ScalarEvolution.cpp updated: 1.78 -> 1.79
---
Log message:

cast of int to bool no longer does a compare, rendering this fixme
obsolete


---
Diffs of the changes:  (+0 -1)

 ScalarEvolution.cpp |    1 -
 1 files changed, 1 deletion(-)


Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.78 llvm/lib/Analysis/ScalarEvolution.cpp:1.79
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.78	Sat Dec 30 23:48:39 2006
+++ llvm/lib/Analysis/ScalarEvolution.cpp	Sat Jan  6 20:05:20 2007
@@ -1495,7 +1495,6 @@
   // exit.
   //
   // FIXME: we should be able to handle switch instructions (with a single exit)
-  // FIXME: We should handle cast of int to bool as well
   BranchInst *ExitBr = dyn_cast<BranchInst>(ExitingBlock->getTerminator());
   if (ExitBr == 0) return UnknownValue;
   assert(ExitBr->isConditional() && "If unconditional, it can't be in loop!");






More information about the llvm-commits mailing list