diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-01 23:59:48 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-01 23:59:48 +0000 |
commit | 1e32688e4ca3913c2c6a8770045a55d5df04731a (patch) | |
tree | 5230cf48e14eaf25ecf75b2a37fa94a5bee2083e /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | e3c48deff52bcc3288e03926478d19e210c6e476 (diff) | |
download | llvm-1e32688e4ca3913c2c6a8770045a55d5df04731a.zip llvm-1e32688e4ca3913c2c6a8770045a55d5df04731a.tar.gz llvm-1e32688e4ca3913c2c6a8770045a55d5df04731a.tar.bz2 |
When inserting copies during splitting, always use the parent register as the
source, and let rewrite() clean it up.
This way, kill flags on the inserted copies are fixed as well during rewrite().
We can't just assume that all the copies we insert are going to be kills since
critical edges into loop headers sometimes require both source and dest to be
live out of a block.
llvm-svn: 117980
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions