diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-09-17 20:45:18 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-09-17 20:45:18 +0000 |
| commit | 978902309a25254ce97bc142348df28ecb210655 (patch) | |
| tree | 5ee51f1c98412374a46f055dd738156887a9622c /llvm/lib/CodeGen/CodeGen.cpp | |
| parent | 5b8a46e771254fab0a50577ad47f0777d3777646 (diff) | |
| download | bcm5719-llvm-978902309a25254ce97bc142348df28ecb210655.tar.gz bcm5719-llvm-978902309a25254ce97bc142348df28ecb210655.zip | |
[WinEH] Add a funclet layout pass
Windows EH funclets need to be contiguous. The FuncletLayout pass will
ensure that the funclets are together and begin with a funclet entry MBB.
Differential Revision: http://reviews.llvm.org/D12943
llvm-svn: 247937
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index 155c5ecec77..7d18058db50 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -29,6 +29,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeExpandISelPseudosPass(Registry); initializeExpandPostRAPass(Registry); initializeFinalizeMachineBundlesPass(Registry); + initializeFuncletLayoutPass(Registry); initializeGCMachineCodeAnalysisPass(Registry); initializeGCModuleInfoPass(Registry); initializeIfConverterPass(Registry); |

