[PATCH] D12074: [WinEHPrepare] Replace unreasonable funclet terminators with unreachable

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 01:54:57 PDT 2015


majnemer created this revision.
majnemer added a reviewer: JosephTremoulet.
majnemer added a subscriber: llvm-commits.

It is possible to be in a situation where more than one funclet token is
a valid SSA value.  If we see a terminator which exits a funclet which
doesn't use the funclet's token, replace it with unreachable.

http://reviews.llvm.org/D12074

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12074.32274.patch
Type: text/x-patch
Size: 8487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150817/0cb8efa6/attachment.bin>


More information about the llvm-commits mailing list