diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-17 14:38:59 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-17 14:38:59 +0000 |
commit | cabc0699ea32cad78028a6533aef1e380064262e (patch) | |
tree | 67abc4c6e9643bd1ecc66130a2628085ce0a2f6b /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 823573a38137191678bf1c7194048ab51d39f33c (diff) |
Use standard pattern for iterate+erase.
Increment the MBB iterator at the top of the loop to properly handle the
current (and previous) instructions getting erased.
This fixes PR13625.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions