diff options
author | Dan Gohman <gohman@apple.com> | 2010-11-17 20:50:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-11-17 20:50:07 +0000 |
commit | 1ee6d240720d6da70f6d78269374c7680a2967f1 (patch) | |
tree | b751070c083a1ebfe459ddf113dd5cb6aa83bf3c /llvm/lib/Transforms | |
parent | 39d77131a11f8271a44f6d2a9d4583713b851b35 (diff) | |
download | bcm5719-llvm-1ee6d240720d6da70f6d78269374c7680a2967f1.tar.gz bcm5719-llvm-1ee6d240720d6da70f6d78269374c7680a2967f1.zip |
Reference ScalarEvolution by name rather than directly in LICM,
to avoid an unneeded dependence.
llvm-svn: 119557
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index a5846887124..3a6604357d4 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/lib/Transforms/Scalar/LICM.cpp @@ -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 @@ namespace { AU.addRequiredID(LoopSimplifyID); AU.addRequired<AliasAnalysis>(); AU.addPreserved<AliasAnalysis>(); - AU.addPreserved<ScalarEvolution>(); + AU.addPreserved("scalar-evolution"); AU.addPreservedID(LoopSimplifyID); } |