Mercurial > projects > ldc
changeset 607:9526b29ae342
Fixed the optimizer thing, since llvm PR 2800 is already fixed, users need to upgrade LLVM to latest svn.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 18 Sep 2008 21:07:35 +0200 |
parents | c7fbcb6b923e |
children | 52ab8f3130d9 |
files | gen/optimizer.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/optimizer.cpp Wed Sep 17 19:54:37 2008 +0200 +++ b/gen/optimizer.cpp Thu Sep 18 21:07:35 2008 +0200 @@ -41,8 +41,7 @@ pm.add(createIPConstantPropagationPass()); pm.add(createDeadArgEliminationPass()); pm.add(createInstructionCombiningPass()); - // this doesn't work, llvm PR 2800 - //pm.add(createCFGSimplificationPass()); + pm.add(createCFGSimplificationPass()); pm.add(createPruneEHPass()); }