aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ProcessImplicitDefs.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-04 18:46:28 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-04 18:46:28 +0000
commit32db0b8104a828cc965b84b7d379f89158e342e4 (patch)
tree95a029531964c73d0e0dbbfd748eda5930275bc6 /lib/CodeGen/ProcessImplicitDefs.cpp
parentd477c232f42ab55375767430d615d6f88c6d9619 (diff)
downloadexternal_llvm-32db0b8104a828cc965b84b7d379f89158e342e4.tar.gz
external_llvm-32db0b8104a828cc965b84b7d379f89158e342e4.tar.bz2
external_llvm-32db0b8104a828cc965b84b7d379f89158e342e4.zip
Fix small bug in handling instructions with more than one implicitly defined operand.
ProcessImplicitDefs would only mark one operand per instruction with <undef>. This fixed PR6086. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ProcessImplicitDefs.cpp')
-rw-r--r--lib/CodeGen/ProcessImplicitDefs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ProcessImplicitDefs.cpp b/lib/CodeGen/ProcessImplicitDefs.cpp
index a00f4507af..a0a781bf08 100644
--- a/lib/CodeGen/ProcessImplicitDefs.cpp
+++ b/lib/CodeGen/ProcessImplicitDefs.cpp
@@ -264,8 +264,8 @@ bool ProcessImplicitDefs::runOnMachineFunction(MachineFunction &fn) {
}
}
RUses.clear();
+ ModInsts.clear();
}
- ModInsts.clear();
ImpDefRegs.clear();
ImpDefMIs.clear();
}