projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcb81f5
)
Add an ugly cast
author
Chris Lattner
<sabre@nondot.org>
Thu, 22 Apr 2004 15:00:36 +0000
(15:00 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/ScalarEvolution.h
b/include/llvm/Analysis/ScalarEvolution.h
index c5a892ced228b0ac023a03b74b8af83df0303ebb..c75e5d8c4ebdf8f81921c1290e795068ef360ac6 100644
(file)
--- 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);
}