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:
1580193
)
Update comment
author
Chris Lattner
<sabre@nondot.org>
Mon, 2 Feb 2004 20:09:22 +0000
(20:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 2 Feb 2004 20:09:22 +0000
(20:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11082
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 190d407764286cbc6874fac7d6cb33ee7be9e4c7..f9228a8ec66a580baeea83069829f29067d12b4f 100644
(file)
--- a/
lib/Transforms/Scalar/LICM.cpp
+++ b/
lib/Transforms/Scalar/LICM.cpp
@@
-679,7
+679,7
@@
void LICM::findPromotableValuesInLoop(
I != E; ++I) {
AliasSet &AS = *I;
// We can promote this alias set if it has a store, if it is a "Must" alias
- // set,
and if the pointer is loop invariant
.
+ // set,
if the pointer is loop invariant, if if we are not eliminating any volatile loads or stores
.
if (!AS.isForwardingAliasSet() && AS.isMod() && AS.isMustAlias() &&
!AS.isVolatile() && isLoopInvariant(AS.begin()->first)) {
assert(AS.begin() != AS.end() &&