[PATCH] D11750: [WinEHPrepare] Add rudimentary support for the new EH instructions

David Majnemer david.majnemer at gmail.com
Tue Aug 4 01:23:16 PDT 2015


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

This adds somewhat basic preparation functionality including:
- Formation of funclets via coloring basic blocks.
- Cloning of polychromatic blocks to ensure that funclets have unique
  program counters.
- Demotion of values used between different funclets.
- Some amount of cleanup once we have removed predecessors from basic
  blocks.
- Verification that we are left with a CFG that makes some amount of
  sense.

N.B. Arguments and numbering still need to be done.

http://reviews.llvm.org/D11750

Files:
  lib/CodeGen/WinEHPrepare.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11750.31303.patch
Type: text/x-patch
Size: 14262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150804/bd39541c/attachment.bin>


More information about the llvm-commits mailing list