[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LICM.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 2 14:11:10 PST 2004
Changes in directory llvm/lib/Transforms/Scalar:
LICM.cpp updated: 1.55 -> 1.56
---
Log message:
Update comment
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.55 llvm/lib/Transforms/Scalar/LICM.cpp:1.56
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.55 Wed Jan 7 18:09:44 2004
+++ llvm/lib/Transforms/Scalar/LICM.cpp Mon Feb 2 14:09:22 2004
@@ -679,7 +679,7 @@
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() &&
More information about the llvm-commits
mailing list