patch applied (ghc): Small optimisation for comparisons

Simon Marlow simonmar at microsoft.com
Mon Feb 5 09:14:55 EST 2007


Fri Jan 19 07:04:33 PST 2007  mrchebas at gmail.com
  * Small optimisation for comparisons
  Comparison of literal with narrowed/widened operand: perform
  the comparison at a different width, as long as the literal is
  within range.  We only do this on x86/x86_64 at the moment, where
  we have comparisons at different sizes available.

    M ./compiler/cmm/CmmOpt.hs +32



More information about the Cvs-ghc mailing list