aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARM.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-27 22:14:12 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-27 22:14:12 +0000
commit0481d29d49cc26a944d0d502360f044cb493a4b5 (patch)
treee72776938dd1beb24e2c7da13508fdcb3edd3889 /lib/Target/ARM/ARM.h
parent8eea4616bf494647bf76029685c41dfdb8b8caf6 (diff)
downloadexternal_llvm-0481d29d49cc26a944d0d502360f044cb493a4b5.tar.gz
external_llvm-0481d29d49cc26a944d0d502360f044cb493a4b5.tar.bz2
external_llvm-0481d29d49cc26a944d0d502360f044cb493a4b5.zip
This is the start of the new SjLj EH preparation pass, which will replace the
current IR-level pass. The old SjLj EH pass has some problems, especially with the new EH model. Most significantly, it violates some of the new restrictions the new model has. For instance, the 'dispatch' table wants to jump to the landing pad, but we cannot allow that because only an invoke's unwind edge can jump to a landing pad. This requires us to mangle the code something awful. In addition, we need to keep the now dead landingpad instructions around instead of CSE'ing them because the DWARF emitter uses that information (they are dead because no control flow edge will execute them - the control flow edge from an invoke's unwind is superceded by the edge coming from the dispatch). Basically, this pass belongs not at the IR level where SSA is king, but at the code-gen level, where we have more flexibility. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARM.h')
-rw-r--r--lib/Target/ARM/ARM.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARM.h b/lib/Target/ARM/ARM.h
index 5556dc5a4d..2e5b65cb78 100644
--- a/lib/Target/ARM/ARM.h
+++ b/lib/Target/ARM/ARM.h
@@ -41,6 +41,7 @@ FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
FunctionPass *createARMExpandPseudoPass();
FunctionPass *createARMGlobalMergePass(const TargetLowering* tli);
FunctionPass *createARMConstantIslandPass();
+FunctionPass *createARMSjLjLoweringPass();
FunctionPass *createNEONMoveFixPass();
FunctionPass *createMLxExpansionPass();
FunctionPass *createThumb2ITBlockPass();