Update comment

llvm-svn: 11082
This commit is contained in:
Chris Lattner 2004-02-02 20:09:22 +00:00
parent 63b61e8739
commit cacd30b957
1 changed files with 1 additions and 1 deletions

View File

@ -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() &&