[llvm-branch-commits] [llvm-branch] r99639 - /llvm/branches/Apple/Morbo/lib/CodeGen/VirtRegRewriter.cpp
Dale Johannesen
dalej at apple.com
Fri Mar 26 12:31:39 PDT 2010
Author: johannes
Date: Fri Mar 26 14:31:39 2010
New Revision: 99639
URL: http://llvm.org/viewvc/llvm-project?rev=99639&view=rev
Log:
--- Merging r99637 into '.':
U lib/CodeGen/VirtRegRewriter.cpp
Modified:
llvm/branches/Apple/Morbo/lib/CodeGen/VirtRegRewriter.cpp
Modified: llvm/branches/Apple/Morbo/lib/CodeGen/VirtRegRewriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/VirtRegRewriter.cpp?rev=99639&r1=99638&r2=99639&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/VirtRegRewriter.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/VirtRegRewriter.cpp Fri Mar 26 14:31:39 2010
@@ -572,6 +572,9 @@
static void UpdateKills(MachineInstr &MI, const TargetRegisterInfo* TRI,
BitVector &RegKills,
std::vector<MachineOperand*> &KillOps) {
+ // These do not affect kill info at all.
+ if (MI.isDebugValue())
+ return;
for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) {
MachineOperand &MO = MI.getOperand(i);
if (!MO.isReg() || !MO.isUse() || MO.isUndef())
More information about the llvm-branch-commits
mailing list