Add a simple little improvement to the local spiller to keep track of stores
authorChris Lattner <sabre@nondot.org>
Fri, 1 Oct 2004 19:47:12 +0000 (19:47 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Oct 2004 19:47:12 +0000 (19:47 +0000)
commit52b25db3ef9390271bbfa0b5c6efe0a72ce7cb8e
tree948675ba03aa12e061b2ca09cc2ebab03e6cd6e2
parent7fb64347d7d1310b5f3f06f7ae97031c73a21797
Add a simple little improvement to the local spiller to keep track of stores
and delete them if they turn out to be dead.  This is a useful little hack
that even speeds up some programs.  For example, it speeds up Ptrdist/ks
from 17.53s to 15.59s, and 188.ammp from 149s to 146s.

This also speeds up llc :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16630 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp