NCG: Really avoid the need for memory-to-memory moves in the register allocator
authorwolfgang.thaller@gmx.net <unknown>
Fri, 24 Nov 2006 09:35:36 +0000 (09:35 +0000)
committerwolfgang.thaller@gmx.net <unknown>
Fri, 24 Nov 2006 09:35:36 +0000 (09:35 +0000)
commita93bbc4a03ae34d6ef36e4576799d2152c25989b
tree1d5969463e99f7ec91284e810b6465a0b07a61de
parent5cfeedcc9f3ad65283d98063f0b228edca9990b2
NCG: Really avoid the need for memory-to-memory moves in the register allocator

This is a follow-up to "NCG: Handle loops in register allocator".
The newly-introduced invariant that every virtual register is always assigned to
the same spill slot wasn't kept under all circumstances.
*Now* memory-to-memory moves should never be required when compiling hand-written
cmm code.
compiler/nativeGen/RegisterAlloc.hs