Don't completely eliminate identity copies that also modify super register liveness.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 31 Mar 2011 17:55:25 +0000 (17:55 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 31 Mar 2011 17:55:25 +0000 (17:55 +0000)
commit280ea1a7466751c6d27ff343072c65e59a950053
tree0e34572eb68616124c6cfc322fd93d89a024f0b8
parent8901e6ff3da1c1a68ee5c1c24f21e8572ceb57b6
Don't completely eliminate identity copies that also modify super register liveness.

Turn them into noop KILL instructions instead. This lets the scavenger know when
super-registers are killed and defined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll