diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-02 20:09:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-02 20:09:22 +0000 |
commit | cacd30b9579310292761c39d8a818d8fbe0dc632 (patch) | |
tree | 892981cf58b594baaa0867264f706e1c1533e60f /llvm/lib/Transforms/Scalar/LICM.cpp | |
parent | 63b61e87397d888f27676cb410e212bba6e56ba4 (diff) | |
download | bcm5719-llvm-cacd30b9579310292761c39d8a818d8fbe0dc632.tar.gz bcm5719-llvm-cacd30b9579310292761c39d8a818d8fbe0dc632.zip |
Update comment
llvm-svn: 11082
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LICM.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 190d4077642..f9228a8ec66 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/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() && |