aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-05-10 21:24:55 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-05-10 21:24:55 +0000
commitfc6e6a9b3b2b2de7bee47d9dcbdfdc72ca7f5238 (patch)
treeee4e8fa05c8f9ff11de4b40e0e31baecb76d3c0c /lib/CodeGen/TwoAddressInstructionPass.cpp
parente24b5c52d667ca377bfb258e780007207e1ee16f (diff)
Clear RegSequences vector after eliminating REG_SEQUENCE instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp
index fde32da9ca..4ccb661138 100644
--- a/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -1179,5 +1179,6 @@ bool TwoAddressInstructionPass::EliminateRegSequences() {
MI->eraseFromParent();
}
+ RegSequences.clear();
return true;
}