diff options
Diffstat (limited to 'lib/Target/Sparc/SparcTargetMachine.cpp')
-rw-r--r-- | lib/Target/Sparc/SparcTargetMachine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcTargetMachine.cpp b/lib/Target/Sparc/SparcTargetMachine.cpp index a888423a15..81d05dad14 100644 --- a/lib/Target/Sparc/SparcTargetMachine.cpp +++ b/lib/Target/Sparc/SparcTargetMachine.cpp @@ -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()); |