diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-10-05 19:16:09 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-10-05 19:16:09 +0000 |
| commit | fb253741702064bace68c68133be3b0a701d3de5 (patch) | |
| tree | 1f6758e25036b77263a4e12cde3a76e88852cd4b /llvm/lib | |
| parent | 37225efa9771eda456efa78a349a38738f7fa381 (diff) | |
| download | bcm5719-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.cpp | 6 |
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()); |

