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
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc