Add an ugly cast
authorChris Lattner <sabre@nondot.org>
Thu, 22 Apr 2004 15:00:36 +0000 (15:00 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Apr 2004 15:00:36 +0000 (15:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13107 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolution.h

index c5a892ced228b0ac023a03b74b8af83df0303ebb..c75e5d8c4ebdf8f81921c1290e795068ef360ac6 100644 (file)
@@ -254,7 +254,7 @@ namespace llvm {
     /// 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);
     }