mfn-ghc at cs.york.ac.uk
Wed Jan 23 06:16:33 EST 2008
Hello GHC gurus,
specifying "-O" or "-O2" to GHC enables various optimisations to the
frontend of the compiler, but I wonder does it turn on any
optimistions to the backend/code-generator that are independent of the
I can imagine that knowledge such as strictness which is computed by
frontend would enable optimisations in the backend, but I'm more
interested in whether the backend would do anything independent (e.g.
peephole optimistion, C compiler options) with "-O" but not without.
More information about the Glasgow-haskell-users