Re-land r235154-r235156 under the existing -sehprepare flag
authorReid Kleckner <reid@kleckner.net>
Tue, 21 Apr 2015 18:23:57 +0000 (18:23 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 21 Apr 2015 18:23:57 +0000 (18:23 +0000)
commit405cc64eace384f436e7ea7cf6a3e1491cdc4093
treeb5b84d086ce2fe024791116daf74743bb76afd51
parent9e0a1565b9fb2cee34cd82ea33fc29261801a414
Re-land r235154-r235156 under the existing -sehprepare flag

Keep the old SEH fan-in lowering on by default for now, since projects
rely on it.  This will make it easy to test this change with a simple
flag flip.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235399 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/CodeGen/FunctionLoweringInfo.h
include/llvm/CodeGen/MachineModuleInfo.h
include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/AsmPrinter/Win64Exception.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/WinEH/seh-prepared-basic.ll [new file with mode: 0644]
test/CodeGen/X86/seh-catch-all.ll
test/CodeGen/X86/seh-except-finally.ll [new file with mode: 0644]
test/CodeGen/X86/seh-finally.ll
test/CodeGen/X86/seh-safe-div.ll
test/CodeGen/X86/win_eh_prepare.ll