X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FnativeGen%2FRegLiveness.hs;h=96a264a0b1fda11bb24b9d9d400d1d91e041c7f7;hb=dbc0a8f9177695592f960cc6dbd00c5e6f061e3f;hp=50af2eb7a0f11f85b52c15419cd8340f847a13b3;hpb=510aac2a8a8e2618e4ff2069a9df398c05b130fb;p=ghc-hetmet.git diff --git a/compiler/nativeGen/RegLiveness.hs b/compiler/nativeGen/RegLiveness.hs index 50af2eb..96a264a 100644 --- a/compiler/nativeGen/RegLiveness.hs +++ b/compiler/nativeGen/RegLiveness.hs @@ -30,6 +30,7 @@ module RegLiveness ( ) where +import BlockId import MachRegs import MachInstrs import PprMach @@ -243,14 +244,14 @@ slurpConflicts live , moves) lis --- | For spill/reloads +-- | For spill\/reloads -- -- SPILL v1, slot1 -- ... -- RELOAD slot1, v2 -- -- If we can arrange that v1 and v2 are allocated to the same hreg it's more likely --- the spill/reload instrs can be cleaned and replaced by a nop reg-reg move. +-- the spill\/reload instrs can be cleaned and replaced by a nop reg-reg move. -- -- slurpReloadCoalesce :: LiveCmmTop -> Bag (Reg, Reg)