diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-04 18:46:28 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-04 18:46:28 +0000 |
commit | c7c89b832592136e9b4d24074cc9bbdba3b18067 (patch) | |
tree | 952ef728db796c2e5320eba764c9b35ca8ef8a36 /llvm/lib/CodeGen/ProcessImplicitDefs.cpp | |
parent | 72d36b59bef9f912a4d6804ab14b3ca8580993a1 (diff) | |
download | bcm5719-llvm-c7c89b832592136e9b4d24074cc9bbdba3b18067.tar.gz bcm5719-llvm-c7c89b832592136e9b4d24074cc9bbdba3b18067.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.
llvm-svn: 95319
Diffstat (limited to 'llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ProcessImplicitDefs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp index a00f4507af0..a0a781bf08a 100644 --- a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp +++ b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp @@ -264,8 +264,8 @@ bool ProcessImplicitDefs::runOnMachineFunction(MachineFunction &fn) { } } RUses.clear(); + ModInsts.clear(); } - ModInsts.clear(); ImpDefRegs.clear(); ImpDefMIs.clear(); } |