From 918f2155e90613bcf222ac5499f845d231bdfd57 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 15 Oct 2011 00:27:44 +0000 Subject: [PATCH] Mark registers as DEAD because they're really just clobbers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142027 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 6ead63f5ca2..8e065ee194d 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -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; -- 2.34.1