Don't unconditionally set the kill flag.
authorChad Rosier <mcrosier@apple.com>
Thu, 17 Nov 2011 01:16:53 +0000 (01:16 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 17 Nov 2011 01:16:53 +0000 (01:16 +0000)
rdar://10456186

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144872 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFastISel.cpp

index de13a295fa0a8a9090ea610bfe288741188e7055..8837c735843557d3720518b0a6b61ee677dbf1ef 100644 (file)
@@ -1114,7 +1114,7 @@ bool ARMFastISel::ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr) {
   // Create the base instruction, then add the operands.
   MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
                                     TII.get(StrOpc))
-                            .addReg(SrcReg, getKillRegState(true));
+                            .addReg(SrcReg);
   AddLoadStoreOperands(VT, Addr, MIB, MachineMemOperand::MOStore, useAM3);
   return true;
 }