mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 07:59:50 +00:00
Move -lowerselect later in the chain; some select instructions were
slipping through into the instruction selector, which can't deal with them yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2e5f3635a
commit
5aefa8a6fe
@ -65,9 +65,6 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
// Replace malloc and free instructions with library calls.
|
||||
PM.add(createLowerAllocationsPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
// FIXME: implement the switch instruction in the instruction selector.
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
@ -79,6 +76,9 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
// Make sure that no unreachable blocks are instruction selected.
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
PM.add(createSparcV8SimpleInstructionSelector(*this));
|
||||
|
||||
// Print machine instructions as they were initially generated.
|
||||
@ -118,9 +118,6 @@ void SparcV8JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
// Replace malloc and free instructions with library calls.
|
||||
PM.add(createLowerAllocationsPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
// FIXME: implement the switch instruction in the instruction selector.
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
@ -132,6 +129,9 @@ void SparcV8JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
// Make sure that no unreachable blocks are instruction selected.
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
PM.add(createSparcV8SimpleInstructionSelector(TM));
|
||||
|
||||
// Print machine instructions as they were initially generated.
|
||||
|
@ -65,9 +65,6 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
// Replace malloc and free instructions with library calls.
|
||||
PM.add(createLowerAllocationsPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
// FIXME: implement the switch instruction in the instruction selector.
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
@ -79,6 +76,9 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
// Make sure that no unreachable blocks are instruction selected.
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
PM.add(createSparcV8SimpleInstructionSelector(*this));
|
||||
|
||||
// Print machine instructions as they were initially generated.
|
||||
@ -118,9 +118,6 @@ void SparcV8JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
// Replace malloc and free instructions with library calls.
|
||||
PM.add(createLowerAllocationsPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
// FIXME: implement the switch instruction in the instruction selector.
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
@ -132,6 +129,9 @@ void SparcV8JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
// Make sure that no unreachable blocks are instruction selected.
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// FIXME: implement the select instruction in the instruction selector.
|
||||
PM.add(createLowerSelectPass());
|
||||
|
||||
PM.add(createSparcV8SimpleInstructionSelector(TM));
|
||||
|
||||
// Print machine instructions as they were initially generated.
|
||||
|
Loading…
Reference in New Issue
Block a user