diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-05-10 21:24:55 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-05-10 21:24:55 +0000 |
commit | fc6e6a9b3b2b2de7bee47d9dcbdfdc72ca7f5238 (patch) | |
tree | ee4e8fa05c8f9ff11de4b40e0e31baecb76d3c0c /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | e24b5c52d667ca377bfb258e780007207e1ee16f (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.cpp | 1 |
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; } |