[PATCH] D13152: [EH] Create removeUnwindEdge utility

Joseph Tremoulet via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 18:04:18 PDT 2015


JosephTremoulet created this revision.
JosephTremoulet added reviewers: andrew.w.kaylor, majnemer, rnk.
JosephTremoulet added a subscriber: llvm-commits.

Factor the code that rewrites invokes to calls and rewrites WinEH
terminators to their "unwind to caller" equivalents into a helper in
Utils/Local, and use it in the three places I'm aware of that need to do
this.


http://reviews.llvm.org/D13152

Files:
  include/llvm/Transforms/Utils/Local.h
  lib/CodeGen/WinEHPrepare.cpp
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/CodeGen/WinEH/wineh-cloning.ll
  test/Transforms/SimplifyCFG/wineh-unreachable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13152.35692.patch
Type: text/x-patch
Size: 13934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/ed82ef2b/attachment.bin>


More information about the llvm-commits mailing list