summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitfb253741702064bace68c68133be3b0a701d3de5 (patch)
tree1f6758e25036b77263a4e12cde3a76e88852cd4b /llvm/lib
parent37225efa9771eda456efa78a349a38738f7fa381 (diff)
downloadbcm5719-llvm-fb253741702064bace68c68133be3b0a701d3de5.tar.gz
bcm5719-llvm-fb253741702064bace68c68133be3b0a701d3de5.zip
Add support for the Invoke instruction by using the LowerInvoke pass
llvm-svn: 8872
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp
index 8ec0ada1f84..8c87ca31842 100644
--- a/llvm/lib/Target/Sparc/Sparc.cpp
+++ b/llvm/lib/Target/Sparc/Sparc.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());
OpenPOWER on IntegriCloud