[PATCH] D15840: [WinEH] Update catchrets with cloned successors

Joseph Tremoulet via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 1 05:36:04 PST 2016


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

Add a pass to update catchrets when their successors get cloned; the
existing pass doesn't catch these because it walks the funclet whose
blocks are being cloned but the catchret is in a child funclet.

Also update the test for removing incoming PHI values; when the
predecessor is a catchret, the relevant color is the catchret's parentPad,
not its block's color.


http://reviews.llvm.org/D15840

Files:
  lib/CodeGen/WinEHPrepare.cpp
  test/CodeGen/WinEH/wineh-cloning.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15840.43838.patch
Type: text/x-patch
Size: 4921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160101/07ad220a/attachment.bin>


More information about the llvm-commits mailing list