OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0de1d6
)
Fix a bug in the previous checkin that broke 255.vortex
author
Chris Lattner
<sabre@nondot.org>
Wed, 15 Sep 2004 02:34:40 +0000
(
02:34
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 15 Sep 2004 02:34:40 +0000
(
02:34
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16355
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LICM.cpp
b/lib/Transforms/Scalar/LICM.cpp
index
554b5ec
..
435bb4b
100644
(file)
--- a/
lib/Transforms/Scalar/LICM.cpp
+++ b/
lib/Transforms/Scalar/LICM.cpp
@@
-643,7
+643,7
@@
void LICM::PromoteValuesInLoop() {
LoadValue = LI;
break;
} else if (StoreInst *SI = dyn_cast<StoreInst>(*UI)) {
- if (SI->getOperand(1) ==
LI
) {
+ if (SI->getOperand(1) ==
Ptr
) {
LoadValue = SI->getOperand(0);
break;
}