*** empty log message ***

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-07-23 18:06:35 +00:00
parent af41a12370
commit f629309f74
20 changed files with 48 additions and 55 deletions

View File

@@ -34,8 +34,6 @@ static Statistic<> NumHoistedPH("licm\t\t- Number of insts hoisted to a loop "
namespace {
struct LICM : public FunctionPass, public InstVisitor<LICM> {
const char *getPassName() const { return "Loop Invariant Code Motion"; }
virtual bool runOnFunction(Function &F);
// This transformation requires natural loop information...
@@ -104,6 +102,8 @@ namespace {
hoist(I);
}
};
RegisterPass<LICM> X("licm", "Loop Invariant Code Motion");
}
Pass *createLICMPass() { return new LICM(); }