Pull the creation of the "RewindFunction" function out of the loop. It's only
created once, so shouldn't be stuck in the middle of the loop. Also early exit
if there are no uses of UnwindInst in the function.

llvm-svn: 81785
1 file changed
tree: c5a71d1738b42eb1de436bb8328071ced9255745
  1. clang/
  2. compiler-rt/
  3. llvm/