Force register allocator to reuse registers on an LRU basis.
authorChris Hanson <org/chris-hanson/cph>
Mon, 29 Aug 1988 22:35:26 +0000 (22:35 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 29 Aug 1988 22:35:26 +0000 (22:35 +0000)
commit417258c197188495b4af7d78876e7a6c15def604
treec6a603cd5709cce1fa53146935c59f518e1a6366
parent35e44760cf51dbebb1246e578c5e2081b3275723
Force register allocator to reuse registers on an LRU basis.
Previously it was somewhat random, and usually MRU.  Teach the
allocator to spill values to registers of other types when allocating
a register of a particular type.  This often wins grossly on the
68020.  Also implement predicates to determine whether particular
aliases have unique values.
v7/src/compiler/back/regmap.scm