cvs commit: fptools/ghc/compiler/codeGen CgUtils.hs

Simon Marlow simonmar at haskell.org
Thu Jul 7 09:50:41 EDT 2005


simonmar    2005/07/07 06:50:41 PDT

  Modified files:
    ghc/compiler/codeGen CgUtils.hs 
  Log:
  small performance fix: in via-C mode we previously always created a
  switch instead of an conditional-tree for a multi-branch case.  Refine
  this slightly so that 2-branch switches turn into conditionals again,
  since gcc doesn't do a good job of optimising the equivalent switch.
  
  Revision  Changes    Path
  1.18      +2 -2      fptools/ghc/compiler/codeGen/CgUtils.hs


More information about the Cvs-ghc mailing list