[project @ 2005-07-07 13:50:40 by simonmar]
authorsimonmar <unknown>
Thu, 7 Jul 2005 13:50:40 +0000 (13:50 +0000)
committersimonmar <unknown>
Thu, 7 Jul 2005 13:50:40 +0000 (13:50 +0000)
commitcca5f22b2def1fea7c7d792908a000bac8b4c0b9
tree6203836e61f56a60f77b03828d373d68ddb0233e
parent4f4bec61ff63c43bbdd41c81f587f50dac3ef828
[project @ 2005-07-07 13:50:40 by simonmar]
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.
ghc/compiler/codeGen/CgUtils.hs