[WinEH] Disable most forms of demotion
authorReid Kleckner <rnk@google.com>
Thu, 19 Nov 2015 23:23:33 +0000 (23:23 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 19 Nov 2015 23:23:33 +0000 (23:23 +0000)
commitd1d6f53a8b4acc14c5fce125035142e0639b44da
treeef31a4f468b524b01b9fc7a9e8a5c36706bad1e8
parent0426ad40b56741117d00e780b07607f120ee1d01
[WinEH] Disable most forms of demotion

Now that the register allocator knows about the barriers on funclet
entry and exit, testing has shown that this is unnecessary.

We still demote PHIs on unsplittable blocks due to the differences
between the IR CFG and the Machine CFG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253619 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/wineh-cloning.ll
test/CodeGen/WinEH/wineh-demotion.ll
test/CodeGen/WinEH/wineh-multi-parent-cloning.ll
test/CodeGen/X86/win-catchpad-varargs.ll