[WinEHPrepare] Provide a cloning mode which doesn't demote
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 16 Sep 2015 18:40:37 +0000 (18:40 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 16 Sep 2015 18:40:37 +0000 (18:40 +0000)
commitad53a65179bb143fc0f5c7846277869d6c68034f
tree0d10e50129452d40c03cd6c9f72a37dcf6751956
parent6badbab39a30eb1529541a96f9e1d1b526c10199
[WinEHPrepare] Provide a cloning mode which doesn't demote

We are experimenting with a new approach to saving and restoring SSA
values used across funclets: let the register allocator do the dirty
work for us.

However, this means that we need to be able to clone commoned blocks
without relying on demotion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247835 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/wineh-no-demotion.ll [new file with mode: 0644]