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 | 529429224c9334ca308e1a8563d03f52196fc342 (patch) | |
tree | aa64aad49a4946da7a07fb6d8897ff9bac45e1d1 /lib/Transforms/Scalar | |
parent | 1580193020ceb6a01719aa3bf5eb3bf2384c82e6 (diff) | |
download | external_llvm-529429224c9334ca308e1a8563d03f52196fc342.zip external_llvm-529429224c9334ca308e1a8563d03f52196fc342.tar.gz external_llvm-529429224c9334ca308e1a8563d03f52196fc342.tar.bz2 |
Update comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 190d407..f9228a8 100644 --- 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() && |