[llvm-commits] [llvm] r119557 - /llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Dan Gohman
gohman at apple.com
Wed Nov 17 12:50:07 PST 2010
Author: djg
Date: Wed Nov 17 14:50:07 2010
New Revision: 119557
URL: http://llvm.org/viewvc/llvm-project?rev=119557&view=rev
Log:
Reference ScalarEvolution by name rather than directly in LICM,
to avoid an unneeded dependence.
Modified:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LICM.cpp?rev=119557&r1=119556&r2=119557&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LICM.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp Wed Nov 17 14:50:07 2010
@@ -43,7 +43,6 @@
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/Dominators.h"
-#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/SSAUpdater.h"
#include "llvm/Support/CFG.h"
@@ -83,7 +82,7 @@
AU.addRequiredID(LoopSimplifyID);
AU.addRequired<AliasAnalysis>();
AU.addPreserved<AliasAnalysis>();
- AU.addPreserved<ScalarEvolution>();
+ AU.addPreserved("scalar-evolution");
AU.addPreservedID(LoopSimplifyID);
}
More information about the llvm-commits
mailing list