summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-10 22:44:31 +0000
committerChris Lattner <sabre@nondot.org>2002-05-10 22:44:31 +0000
commit47d923c2e0f2e5e67ad1a3b82e417fe0ddc6ba59 (patch)
treef661ec4350f6152b0e9c03b656eff0227e429622 /llvm/tools
parentb9f60c24d9b511b7ad1e6ff6709c3af61e1ba8d8 (diff)
downloadbcm5719-llvm-47d923c2e0f2e5e67ad1a3b82e417fe0ddc6ba59.tar.gz
bcm5719-llvm-47d923c2e0f2e5e67ad1a3b82e417fe0ddc6ba59.zip
Add LICM pass to compiler
llvm-svn: 2613
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/gccas/gccas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index cd4ccd2de50..c2f7a8c542b 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/tools/gccas/gccas.cpp
@@ -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
OpenPOWER on IntegriCloud