aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-05 19:16:09 +0000
committerChris Lattner <sabre@nondot.org>2003-10-05 19:16:09 +0000
commitd324e2501c29d7b2c08fd968d497a479038ffe6f (patch)
tree1f7b68221c484a56a4595aae0b1a332062cd8f84 /lib/Target
parentc58c169eda62e1c76814d731a567d15047f302d4 (diff)
downloadexternal_llvm-d324e2501c29d7b2c08fd968d497a479038ffe6f.zip
external_llvm-d324e2501c29d7b2c08fd968d497a479038ffe6f.tar.gz
external_llvm-d324e2501c29d7b2c08fd968d497a479038ffe6f.tar.bz2
Add support for the Invoke instruction by using the LowerInvoke pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 8ec0ada..8c87ca3 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -158,6 +158,9 @@ bool UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
+
+ // FIXME: implement the invoke/unwind instructions!
+ PM.add(createLowerInvokePass());
// decompose multi-dimensional array references into single-dim refs
PM.add(createDecomposeMultiDimRefsPass());
@@ -234,6 +237,9 @@ bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
+ // FIXME: implement the invoke/unwind instructions!
+ PM.add(createLowerInvokePass());
+
// decompose multi-dimensional array references into single-dim refs
PM.add(createDecomposeMultiDimRefsPass());