From 9811ea456746684336db7d83b2976ad5130ab4d0 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Wed, 19 Oct 2005 20:07:15 +0000 Subject: [PATCH] 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 --- lib/Target/SparcV9/SparcV9TargetMachine.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 9e86a7560ab..5cf46e0cea9 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());