Miscellaneous clean-ups based on Evan's feedback:
authorBill Wendling <isanbard@gmail.com>
Mon, 3 Mar 2008 23:57:28 +0000 (23:57 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 3 Mar 2008 23:57:28 +0000 (23:57 +0000)
commit405abffd5eb1ad1841491e51943b598c935f309b
tree3490d8d7a14b7533726aa6bbf69068134a4d32e0
parent220a823f8d044b7e9484999c9ec73e3cbe6d251c
Miscellaneous clean-ups based on Evan's feedback:

- Cleaned up how the prologue-epilogue inserter loops over the instructions.
- Instead of restarting the processing of an instruction if we remove an
  implicit kill, just update the end iterator and make sure that the iterator
  isn't incremented.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47870 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/PrologEpilogInserter.cpp