Add LICM pass to compiler
authorChris Lattner <sabre@nondot.org>
Fri, 10 May 2002 22:44:31 +0000 (22:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 May 2002 22:44:31 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2613 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index cd4ccd2de5032c1b82a14155f391c8fb9efd602e..c2f7a8c542b5c7b3f112928afc0469838a30b15c 100644 (file)
@@ -80,6 +80,7 @@ int main(int argc, char **argv) {
     Passes.add(createReassociatePass());            // Reassociate expressions
     Passes.add(createInstructionCombiningPass());   // Combine silly seq's
     Passes.add(createDeadInstEliminationPass());    // Kill InstCombine remnants
+    Passes.add(createLICMPass());                   // Hoist loop invariants
     Passes.add(createGCSEPass());                   // Remove common subexprs
     Passes.add(createSCCPPass());                   // Constant prop with SCCP
     Passes.add(createDeadCodeEliminationPass());    // Remove Dead code/vars