Small optimisation for comparisons
authormrchebas@gmail.com <unknown>
Fri, 19 Jan 2007 15:04:33 +0000 (15:04 +0000)
committermrchebas@gmail.com <unknown>
Fri, 19 Jan 2007 15:04:33 +0000 (15:04 +0000)
commit95d05f883245488f22bfa9dbbfd6d55cc7303a81
tree99eec66a3621162f823de672004b07b6e4721660
parentec3dc438e066b935018eb156fa83d193a83ceac4
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.
compiler/cmm/CmmOpt.hs