Argh! I spent the weekend fixing LLVM bugs and managed to close all but one! I was so close to freedom.
Yep can confirm. -fasm -O0 takes 30seconds on my machine, -fllvm -O0 takes 2 min. 1 min spent in code generator (so either bad performance in llvm code generator or in the llvm mangler) and 1 min in the llvm tools (mostly llc) so probably nothing we can do there. Haven't tried -O1 yet for -fllvm but -O1 -fasm takes 8min on my machine. Created ticket to track: http://hackage.haskell.org/trac/ghc/ticket/5652 Cheers, David On 21 November 2011 07:02, Simon Marlow <[email protected]> wrote: > David, > > It looks like T3016 is running out of time with -fllvm: > > =====> T3016(optllvm) 763 of 3159 [0, 1, 0] > cd ./simplCore/should_compile && > '/64playpen/simonmar/nightly/HEAD-cam-04-unx/x86_64-unknown-linux/inplace/bin/ghc-stage2' > -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output > -no-user-package-conf -rtsopts -fno-ghci-history -c T3016.hs -O -fllvm >>T3016.comp.stderr 2>&1 > Timeout happened...killing process... > Compile failed (status 25344) errors were: > > *** unexpected failure for T3016(optllvm) > > > Maybe it's hitting a bad case in the LLVM generator? This module is just > full of large integer constants, which ends up as a lot of top-level static > data. > > Cheers, > Simon > _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
