From 7d221c53e521edd36cc1d9f42fdb4d3201d5e014 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 22 Apr 2004 15:00:36 +0000 Subject: [PATCH] Add an ugly cast git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13107 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ScalarEvolution.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index c5a892ced22..c75e5d8c4eb 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -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); }