[PATCH] D18046: [X86] Providing correct unwind info in function epilogue

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 16:25:55 PDT 2016


loladiro added a comment.

The key point with that proposal being (which I realized I didn't mention) that one could handle tail duplication by inserting save state at the beginning of the basic block, then remember state just before the duplicated instructions and have everything else as usual. Of course it would then be nice for the late pass to clean this up (e.g. remove save/restore pairs when there's no instructions in between), but at least it would be correct.


Repository:
  rL LLVM

http://reviews.llvm.org/D18046





More information about the llvm-commits mailing list