Clear RegSequences vector after eliminating REG_SEQUENCE instructions.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 10 May 2010 21:24:55 +0000 (21:24 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 10 May 2010 21:24:55 +0000 (21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103435 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TwoAddressInstructionPass.cpp

index fde32da9caa6a4a1dd3eabe5a4352d50ce98d09c..4ccb66113872d9f7644cd40d8357bebdd93dbe52 100644 (file)
@@ -1179,5 +1179,6 @@ bool TwoAddressInstructionPass::EliminateRegSequences() {
     MI->eraseFromParent();
   }
 
+  RegSequences.clear();
   return true;
 }