[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolution.h

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 22 10:01:02 PDT 2004


Changes in directory llvm/include/llvm/Analysis:

ScalarEvolution.h updated: 1.3 -> 1.4

---
Log message:

Add an ugly cast


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

Index: llvm/include/llvm/Analysis/ScalarEvolution.h
diff -u llvm/include/llvm/Analysis/ScalarEvolution.h:1.3 llvm/include/llvm/Analysis/ScalarEvolution.h:1.4
--- llvm/include/llvm/Analysis/ScalarEvolution.h:1.3	Thu Apr 22 09:56:51 2004
+++ llvm/include/llvm/Analysis/ScalarEvolution.h	Thu Apr 22 10:00:36 2004
@@ -254,7 +254,7 @@
     /// addInsertedValue - Remember the specified instruction as being the
     /// canonical form for the specified SCEV.
     void addInsertedValue(Instruction *I, SCEV *S) {
-      InsertedExpressions[S] = I;
+      InsertedExpressions[S] = (Value*)I;
       InsertedInstructions.insert(I);
     }
 





More information about the llvm-commits mailing list