mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Get rid of selects the easy way
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14230 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cfaf22445c
commit
a3c57624c0
@ -46,6 +46,9 @@ 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());
|
||||
@ -91,6 +94,9 @@ 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());
|
||||
|
||||
|
@ -46,6 +46,9 @@ 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());
|
||||
@ -91,6 +94,9 @@ 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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user