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:
0af0dff
)
Bugfix to previous checkin
author
Chris Lattner
<sabre@nondot.org>
Tue, 16 Jul 2002 18:12:55 +0000
(18:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 16 Jul 2002 18:12:55 +0000
(18:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2924
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/LevelRaise.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/LevelRaise.cpp
b/lib/Transforms/LevelRaise.cpp
index 2b9ff6d41b29cc53266d365ad721574e054490b0..54a2930fc0d474ba69642545b10e8efd0a3a783c 100644
(file)
--- a/
lib/Transforms/LevelRaise.cpp
+++ b/
lib/Transforms/LevelRaise.cpp
@@
-227,7
+227,7
@@
static bool PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
// source type of the cast...
//
ConvertedTypes.clear();
- ConvertedTypes[
CI] = Src->getType(); // Make sure the cast _does_ chang
e
+ ConvertedTypes[
Src] = Src->getType(); // Make sure the source doesn't change typ
e
if (ValueConvertableToType(CI, Src->getType(), ConvertedTypes)) {
PRINT_PEEPHOLE3("CAST-DEST-EXPR-CONV:in ", Src, CI, BB->getParent());