From 529429224c9334ca308e1a8563d03f52196fc342 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 2 Feb 2004 20:09:22 +0000 Subject: [PATCH] Update comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11082 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LICM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 190d4077642..f9228a8ec66 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() &&