[PATCH] D13152: [EH] Create removeUnwindEdge utility

Joseph Tremoulet via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 16:44:00 PDT 2015


JosephTremoulet updated this revision to Diff 35782.
JosephTremoulet added a comment.

Remove a stale comment and simplify the code that updates a removed cleanup's predecessors' outgoing edges.  I looked at introducing EHTerminatorInst as suggested in the FIXME comment (http://reviews.llvm.org/D13184), but the complexity seemed unnecessary, especially since this case can be handled with replaceUsesOfWith.


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.35782.patch
Type: text/x-patch
Size: 14601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/588824ad/attachment.bin>


More information about the llvm-commits mailing list