commit | 32db0b8104a828cc965b84b7d379f89158e342e4 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Feb 04 18:46:28 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Feb 04 18:46:28 2010 +0000 |
tree | 95a029531964c73d0e0dbbfd748eda5930275bc6 | |
parent | d477c232f42ab55375767430d615d6f88c6d9619 [diff] [blame] |
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
diff --git a/lib/CodeGen/ProcessImplicitDefs.cpp b/lib/CodeGen/ProcessImplicitDefs.cpp index a00f450..a0a781b 100644 --- a/lib/CodeGen/ProcessImplicitDefs.cpp +++ b/lib/CodeGen/ProcessImplicitDefs.cpp
@@ -264,8 +264,8 @@ } } RUses.clear(); + ModInsts.clear(); } - ModInsts.clear(); ImpDefRegs.clear(); ImpDefMIs.clear(); }