This fixes PR638:

Regression/CodeGen/Generic/2004-02-08-UnwindSupport.llx

llvm-svn: 23831
This commit is contained in:
John Criswell 2005-10-19 20:07:15 +00:00
parent 74ab9960f2
commit 196e8c1f58
1 changed files with 6 additions and 6 deletions

View File

@ -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());