Register Spilling Heuristic ?

"Mohamed Shafi" <shafitvm@gmail.com>
Wed, 24 Oct 2007 10:19:19 +0530

          From comp.compilers

Related articles
Register Spilling Heuristic ? shafitvm@gmail.com (Mohamed Shafi) (2007-10-24)
Re: Register Spilling Heuristic ? preston.briggs@gmail.com (preston.briggs@gmail.com) (2007-10-24)
| List of all articles for this month |

From: "Mohamed Shafi" <shafitvm@gmail.com>
Newsgroups: comp.compilers
Date: Wed, 24 Oct 2007 10:19:19 +0530
Organization: Compilers Central
Keywords: registers, question

Hello all,


I am trying to implement Briggs register allocator. While doing that i
came across documents indicating how to choose nodes for spilling. The
documents says to avoid choosing nodes that are the tiny live ranges
resulting from the fetches of previously spilled registers.


What does this mean? Does it mean that the definition points of a
spilled live range that have been stored to memory in a previous
spilling iteration do not need to be stored again and the definition
points of a spilled live range that begin with spill loads that were
inserted in a previous spilling iteration do not need to be stored.


Any help is appreciated.


Regards,
Shafi.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.