[llvm-commits] [llvm] r103435 - /llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp

Evan Cheng evan.cheng at apple.com
Mon May 10 14:24:55 PDT 2010


Author: evancheng
Date: Mon May 10 16:24:55 2010
New Revision: 103435

URL: http://llvm.org/viewvc/llvm-project?rev=103435&view=rev
Log:
Clear RegSequences vector after eliminating REG_SEQUENCE instructions.

Modified:
    llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp

Modified: llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp?rev=103435&r1=103434&r2=103435&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Mon May 10 16:24:55 2010
@@ -1179,5 +1179,6 @@
     MI->eraseFromParent();
   }
 
+  RegSequences.clear();
   return true;
 }





More information about the llvm-commits mailing list