Jakob Stoklund Olesen 9c1ad5cb7d Add an MRI::tracksLiveness() flag.
Late optimization passes like branch folding and tail duplication can
transform the machine code in a way that makes it expensive to keep the
register liveness information up to date. There is a fuzzy line between
register allocation and late scheduling where the liveness information
degrades.

The MRI::tracksLiveness() flag makes the line clear: While true,
liveness information is accurate, and can be used for register
scavenging. Once the flag is false, liveness information is not
accurate, and can only be used as a hint.

Late passes generally don't need the liveness information, but they will
sometimes use the register scavenger to help update it. The scavenger
enforces strict correctness, and we have to spend a lot of code to
update register liveness that may never be used.

llvm-svn: 153511
2012-03-27 15:13:58 +00:00
..
2012-02-22 16:09:41 +00:00
2012-02-05 20:54:10 +00:00
2011-12-01 08:00:17 +00:00
2011-12-12 21:14:40 +00:00
2010-12-07 18:50:33 +00:00
2012-01-26 00:06:44 +00:00
2012-02-05 22:14:15 +00:00
2010-11-29 18:16:10 +00:00