aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2005-10-19 20:07:15 +0000
committerJohn Criswell <criswell@uiuc.edu>2005-10-19 20:07:15 +0000
commit9811ea456746684336db7d83b2976ad5130ab4d0 (patch)
tree8ebb2ff64269efb97f75ddc2ffbfb5f3aa5688b0
parent538421411a4a0a070bbd789e88657689ca504dbe (diff)
This fixes PR638:
Regression/CodeGen/Generic/2004-02-08-UnwindSupport.llx git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23831 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 9e86a7560a..5cf46e0cea 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -171,12 +171,12 @@ SparcV9TargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out,
// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());
- // FIXME: implement the switch instruction in the instruction selector.
- PM.add(createLowerSwitchPass());
-
// FIXME: implement the invoke/unwind instructions!
PM.add(createLowerInvokePass());
+ // FIXME: implement the switch instruction in the instruction selector.
+ PM.add(createLowerSwitchPass());
+
// decompose multi-dimensional array references into single-dim refs
PM.add(createDecomposeMultiDimRefsPass());
@@ -262,12 +262,12 @@ void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());
- // FIXME: implement the switch instruction in the instruction selector.
- PM.add(createLowerSwitchPass());
-
// FIXME: implement the invoke/unwind instructions!
PM.add(createLowerInvokePass());
+ // FIXME: implement the switch instruction in the instruction selector.
+ PM.add(createLowerSwitchPass());
+
// decompose multi-dimensional array references into single-dim refs
PM.add(createDecomposeMultiDimRefsPass());