]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Don't bother to do a spill store if the register chosen for spilling
authorJulian Seward <jseward@acm.org>
Sat, 9 Oct 2004 10:07:46 +0000 (10:07 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 9 Oct 2004 10:07:46 +0000 (10:07 +0000)
commit27d255d7f313ca87f08549ca983ec78e9be9ea55
tree354ef806ad301cec1ff3175c57bd3e22b235d4f5
parentb541d04a76f709c67d532924db3c252103e34a9f
Don't bother to do a spill store if the register chosen for spilling
was only instantaneously live (target of a dead store).  I don't think
this is really the right way to fix this, but it works.  A better
question is, if this register is dead before the current insn, why was
it chosen for spilling in the first place?

git-svn-id: svn://svn.valgrind.org/vex/trunk@317
VEX/priv/host-generic/reg_alloc.c