[llvm-commits] CVS: llvm/lib/Analysis/LoopPass.cpp
Devang Patel
dpatel at apple.com
Tue Mar 6 22:39:23 PST 2007
Changes in directory llvm/lib/Analysis:
LoopPass.cpp updated: 1.17 -> 1.18
---
Log message:
Now IndVarSimplify is a LoopPass.
---
Diffs of the changes: (+3 -0)
LoopPass.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Analysis/LoopPass.cpp
diff -u llvm/lib/Analysis/LoopPass.cpp:1.17 llvm/lib/Analysis/LoopPass.cpp:1.18
--- llvm/lib/Analysis/LoopPass.cpp:1.17 Tue Mar 6 18:26:10 2007
+++ llvm/lib/Analysis/LoopPass.cpp Wed Mar 7 00:39:01 2007
@@ -14,6 +14,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Analysis/LoopPass.h"
+#include "llvm/Analysis/ScalarEvolutionExpander.h"
using namespace llvm;
//===----------------------------------------------------------------------===//
@@ -148,6 +149,8 @@
// LPPassManager needs LoopInfo. In the long term LoopInfo class will
// become part of LPPassManager.
Info.addRequired<LoopInfo>();
+ // Used by IndVar doInitialization.
+ Info.addRequired<ScalarEvolution>();
Info.setPreservesAll();
}
More information about the llvm-commits
mailing list