Mark registers as DEAD because they're really just clobbers.

llvm-svn: 142027
This commit is contained in:
Bill Wendling 2011-10-15 00:27:44 +00:00
parent c4c9fedc72
commit 9c1019c6c7
1 changed files with 1 additions and 1 deletions

View File

@ -5932,7 +5932,7 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
for (unsigned i = 0; SavedRegs[i] != 0; ++i) {
if (!TRC->contains(SavedRegs[i])) continue;
if (!DefRegs[SavedRegs[i]])
MIB.addReg(SavedRegs[i], RegState::Implicit | RegState::Define);
MIB.addReg(SavedRegs[i], RegState::ImplicitDefine | RegState::Dead);
}
break;