is64BitInteger: truncate to 64 bits before testing
authorSimon Marlow <simonmar@microsoft.com>
Thu, 1 Mar 2007 11:25:13 +0000 (11:25 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 1 Mar 2007 11:25:13 +0000 (11:25 +0000)
commitafe70e601965aec90b6bc86571ff54a4093f739f
treefbfa3559f26ac58fd5ce21c2d269c91163b8f84e
parent29b3388fc5773aa1755345c25acf7c561b924df0
is64BitInteger: truncate to 64 bits before testing
We weren't catching some literals that actually fit in 32 bits before,
because e.g. -1 was sometimes represented as 0xffffffffffffffff in CmmInt.
compiler/nativeGen/MachCodeGen.hs