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. llvm-svn: 162099
Loading
Please register or sign in to comment