[llvm-commits] [llvm] r144872 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Chad Rosier
mcrosier at apple.com
Wed Nov 16 17:16:53 PST 2011
Author: mcrosier
Date: Wed Nov 16 19:16:53 2011
New Revision: 144872
URL: http://llvm.org/viewvc/llvm-project?rev=144872&view=rev
Log:
Don't unconditionally set the kill flag.
rdar://10456186
Modified:
llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=144872&r1=144871&r2=144872&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Wed Nov 16 19:16:53 2011
@@ -1114,7 +1114,7 @@
// 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;
}
More information about the llvm-commits
mailing list